mirror of
https://github.com/immich-app/immich.git
synced 2024-11-28 09:33:27 +02:00
fix(web): pick deleted user (#1237)
This commit is contained in:
parent
b82a3f3300
commit
9edbff0ec0
@ -13,7 +13,8 @@
|
|||||||
onMount(async () => {
|
onMount(async () => {
|
||||||
const { data } = await api.userApi.getAllUsers(false);
|
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
|
// Remove the existed shared users from the album
|
||||||
sharedUsersInAlbum.forEach((sharedUser) => {
|
sharedUsersInAlbum.forEach((sharedUser) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user