mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-03-22 21:55:43 -04:00
Frontend Fixes + Adjust Caddyfile (#518)
* token error handling * Add additional settings to recipes * fixes #515 * remove index.html Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
@@ -150,7 +150,13 @@ export default {
|
||||
|
||||
methods: {
|
||||
async refreshProfile() {
|
||||
this.user = await api.users.self();
|
||||
const [response, err] = await api.users.self();
|
||||
|
||||
if (err) {
|
||||
return; // TODO: Log or Notifty User of Error
|
||||
}
|
||||
|
||||
this.user = response.data;
|
||||
},
|
||||
openAvatarPicker() {
|
||||
this.showAvatarPicker = true;
|
||||
|
||||
Reference in New Issue
Block a user