mirror of
https://github.com/immich-app/immich.git
synced 2026-02-11 11:27:56 +03:00
fix correct page to open after removing user from album
This commit is contained in:
@@ -339,9 +339,9 @@
|
||||
|
||||
try {
|
||||
await refreshAlbum();
|
||||
viewMode = album.sharedUsers.length > 1 ? ViewMode.SELECT_USERS : ViewMode.VIEW;
|
||||
viewMode = album.sharedUsers.length > 0 ? ViewMode.VIEW_USERS : ViewMode.VIEW;
|
||||
} catch (error) {
|
||||
handleError(error, 'Error deleting share users');
|
||||
handleError(error, 'Error deleting shared user');
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user