mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
Added error handling notification (#536)
This commit is contained in:
parent
33b810de74
commit
4be9aa091b
10 changed files with 118 additions and 26 deletions
|
|
@ -25,7 +25,6 @@
|
|||
await api.userApi.getProfileImage(user.id);
|
||||
shouldShowProfileImage = true;
|
||||
} catch (e) {
|
||||
console.log('User does not have a profile image');
|
||||
shouldShowProfileImage = false;
|
||||
}
|
||||
};
|
||||
|
|
@ -33,10 +32,6 @@
|
|||
return text?.charAt(0).toUpperCase();
|
||||
};
|
||||
|
||||
const navigateToAdmin = () => {
|
||||
goto('/admin');
|
||||
};
|
||||
|
||||
const showAccountInfoPanel = () => {
|
||||
shouldShowAccountInfoPanel = true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue