From 34e0b33a7ed51b6dfe16d63c81a1cafb39d769ff Mon Sep 17 00:00:00 2001 From: Pranay Date: Fri, 25 Oct 2024 19:46:14 +0530 Subject: [PATCH] fix: remove archived images from people page --- .../[personId]/[[photos=photos]]/[[assetId=id]]/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/routes/(user)/people/[personId]/[[photos=photos]]/[[assetId=id]]/+page.svelte b/web/src/routes/(user)/people/[personId]/[[photos=photos]]/[[assetId=id]]/+page.svelte index d68367d106cb5..4b53d699508b0 100644 --- a/web/src/routes/(user)/people/[personId]/[[photos=photos]]/[[assetId=id]]/+page.svelte +++ b/web/src/routes/(user)/people/[personId]/[[photos=photos]]/[[assetId=id]]/+page.svelte @@ -81,7 +81,7 @@ $: thumbnailData = getPeopleThumbnailUrl(person); $: if (person) { handlePromiseError(updateAssetCount()); - handlePromiseError(assetStore.updateOptions({ personId: person.id })); + handlePromiseError(assetStore.updateOptions({ personId: person.id, isArchived: false })); } const assetInteractionStore = createAssetInteractionStore();