fix correct page to open after removing user from album
This commit is contained in:
@@ -339,9 +339,9 @@
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
await refreshAlbum();
|
await refreshAlbum();
|
||||||
viewMode = album.sharedUsers.length > 1 ? ViewMode.SELECT_USERS : ViewMode.VIEW;
|
viewMode = album.sharedUsers.length > 0 ? ViewMode.VIEW_USERS : ViewMode.VIEW;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
handleError(error, 'Error deleting share users');
|
handleError(error, 'Error deleting shared user');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user