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 5121361e24..2ab3df1df8 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 @@ -46,14 +46,15 @@
-
- dispatch('goBack')} /> +
+ dispatch('goBack')} />
{#if isOwner} dispatch('toggleArchive')} @@ -63,12 +64,14 @@ {#if showMotionPlayButton} {#if isMotionPhotoPlaying} dispatch('stopMotionPhoto')} /> {:else} dispatch('playMotionPhoto')} @@ -77,6 +80,7 @@ {/if} {#if showCopyButton} { @@ -88,18 +92,21 @@ {#if showDownloadButton} dispatch('download')} title="Download" /> {/if} dispatch('showDetail')} title="Info" /> {#if isOwner} dispatch('favorite')} title="Favorite" @@ -107,12 +114,22 @@ {/if} {#if isOwner} - dispatch('delete')} title="Delete" /> + dispatch('delete')} + title="Delete" + />
(isShowAssetOptions = false)}> - + {#if isShowAssetOptions} -
+
onMenuClick('addToAlbum')} text="Add to Album" /> onMenuClick('addToSharedAlbum')} diff --git a/web/src/lib/components/asset-viewer/asset-viewer.svelte b/web/src/lib/components/asset-viewer/asset-viewer.svelte index 4eec8f2505..8e8db38fa3 100644 --- a/web/src/lib/components/asset-viewer/asset-viewer.svelte +++ b/web/src/lib/components/asset-viewer/asset-viewer.svelte @@ -378,7 +378,7 @@ }} >