1
0
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:
Jason Rasmussen 2022-12-30 22:30:48 -05:00 committed by GitHub
parent b82a3f3300
commit 9edbff0ec0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) => {