Skip to content

High performance self-hosted photo and video management solution.

fix: remove unnecessary api call (#23050)

Arno07007586217b
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 31c599f19b..e3a5c06a17 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
@@ -39,7 +39,7 @@
import { locale } from '$lib/stores/preferences.store';
import { preferences } from '$lib/stores/user.store';
import { websocketEvents } from '$lib/stores/websocket';
- import { getPeopleThumbnailUrl, handlePromiseError } from '$lib/utils';
+ import { getPeopleThumbnailUrl } from '$lib/utils';
import { handleError } from '$lib/utils/handle-error';
import { isExternalUrl } from '$lib/utils/navigation';
import {
@@ -361,12 +361,6 @@
let thumbnailData = $derived(getPeopleThumbnailUrl(person));
- $effect(() => {
- if (person) {
- handlePromiseError(updateAssetCount());
- }
- });
-
const handleSetVisibility = (assetIds: string[]) => {
timelineManager.removeAssets(assetIds);
assetInteraction.clearMultiselect();