From 398d99a05228dca8ff720d8518d540a6eda0fdd0 Mon Sep 17 00:00:00 2001 From: AmAn Sharma Date: Sun, 5 May 2024 17:30:03 +0530 Subject: [PATCH] fix(web): Individual Photo Sharing with Album Link #8887 (#9264) --- web/src/lib/components/asset-viewer/asset-viewer.svelte | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/src/lib/components/asset-viewer/asset-viewer.svelte b/web/src/lib/components/asset-viewer/asset-viewer.svelte index fefeb85e4b..94c75f7177 100644 --- a/web/src/lib/components/asset-viewer/asset-viewer.svelte +++ b/web/src/lib/components/asset-viewer/asset-viewer.svelte @@ -536,6 +536,10 @@ handleError(error, 'Unable to update album cover'); } }; + + $: if (!$user) { + shouldShowShareModal = false; + }