Skip to content

Commit

Permalink
Enable stacking and unstacking inside albums.
Browse files Browse the repository at this point in the history
  • Loading branch information
aminesebastian committed Jan 12, 2025
1 parent 4afc660 commit f487860
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,13 @@
{/if}
<ButtonContextMenu icon={mdiDotsVertical} title={$t('menu')}>
<DownloadAction menuItem filename="{album.albumName}.zip" />
{#if assetInteraction.selectedAssets.size > 1 || isAssetStackSelected}
<StackAction
unstack={isAssetStackSelected}
onStack={(assetIds) => assetStore.removeAssets(assetIds)}
onUnstack={(assets) => assetStore.addAssets(assets)}
/>
{/if}
{#if assetInteraction.isAllUserOwned}
<ChangeDate menuItem />
<ChangeLocation menuItem />
Expand Down

0 comments on commit f487860

Please sign in to comment.