diff --git a/web/src/lib/components/asset-viewer/asset-viewer-nav-bar.svelte b/web/src/lib/components/asset-viewer/asset-viewer-nav-bar.svelte index 5551d55444..8da63e03ba 100644 --- a/web/src/lib/components/asset-viewer/asset-viewer-nav-bar.svelte +++ b/web/src/lib/components/asset-viewer/asset-viewer-nav-bar.svelte @@ -33,7 +33,7 @@ export let showDetailButton: boolean; export let showSlideshow = false; - const isOwner = asset.ownerId === $page.data.user?.id; + $: isOwner = asset.ownerId === $page.data.user?.id; type MenuItemEvent = 'addToAlbum' | 'addToSharedAlbum' | 'asProfileImage' | 'runJob' | 'playSlideShow';