mirror of
https://github.com/immich-app/immich.git
synced 2025-11-15 11:32:35 +09:00
feat(web): automatically update user info (#5647)
* use svelte store * fix: websocket error when not authenticated * more routes
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
import { notificationController, NotificationType } from '../notification/notification';
|
||||
import { handleError } from '$lib/utils/handle-error';
|
||||
import AvatarSelector from './avatar-selector.svelte';
|
||||
import { setUser } from '$lib/stores/user.store';
|
||||
|
||||
export let user: UserResponseDto;
|
||||
|
||||
@@ -33,6 +34,7 @@
|
||||
});
|
||||
|
||||
user = data;
|
||||
setUser(user);
|
||||
isShowSelectAvatar = false;
|
||||
|
||||
notificationController.show({
|
||||
|
||||
Reference in New Issue
Block a user