1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-26 10:50:29 +02:00

??? move slideshow button out from ellipsis menu so that non-owners can have access too

This commit is contained in:
mgabor 2024-04-12 13:54:10 +02:00
parent 2e1a3869d3
commit 1343bfa311

View File

@ -434,6 +434,7 @@
{/if} {/if}
{#if album.assetCount > 0} {#if album.assetCount > 0}
<CircleIconButton title="Slideshow" on:click={handleStartSlideshow} icon={mdiPresentationPlay} />
<CircleIconButton title="Download" on:click={handleDownloadAlbum} icon={mdiFolderDownloadOutline} /> <CircleIconButton title="Download" on:click={handleDownloadAlbum} icon={mdiFolderDownloadOutline} />
{#if isOwned} {#if isOwned}
@ -441,7 +442,6 @@
<CircleIconButton title="Album options" on:click={handleOpenAlbumOptions} icon={mdiDotsVertical}> <CircleIconButton title="Album options" on:click={handleOpenAlbumOptions} icon={mdiDotsVertical}>
{#if viewMode === ViewMode.ALBUM_OPTIONS} {#if viewMode === ViewMode.ALBUM_OPTIONS}
<ContextMenu {...contextMenuPosition}> <ContextMenu {...contextMenuPosition}>
<MenuOption icon={mdiPresentationPlay} text="Slideshow" on:click={handleStartSlideshow} />
<MenuOption <MenuOption
icon={mdiImageOutline} icon={mdiImageOutline}
text="Select album cover" text="Select album cover"