diff --git a/web/src/lib/components/album-page/user-selection-modal.svelte b/web/src/lib/components/album-page/user-selection-modal.svelte index 9a8d2405e4..990b2251da 100644 --- a/web/src/lib/components/album-page/user-selection-modal.svelte +++ b/web/src/lib/components/album-page/user-selection-modal.svelte @@ -13,7 +13,8 @@ onMount(async () => { const { data } = await api.userApi.getAllUsers(false); - users = data; + // remove soft deleted users + users = data.filter((user) => !user.deletedAt); // Remove the existed shared users from the album sharedUsersInAlbum.forEach((sharedUser) => {