feat(web): add button to archive and unarchive in detail viewer (#2296)

This commit is contained in:
Alex 2023-04-20 09:09:27 -05:00 committed by GitHub
parent 14be63039f
commit fe3d6b870a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 94 additions and 12 deletions

View file

@ -526,7 +526,12 @@
{/if}
{#if album.assetCount > 0}
<GalleryViewer assets={album.assets} {sharedLink} bind:selectedAssets={multiSelectAsset} />
<GalleryViewer
assets={album.assets}
{sharedLink}
bind:selectedAssets={multiSelectAsset}
viewFrom="album-page"
/>
{:else}
<!-- Album is empty - Show asset selectection buttons -->
<section id="empty-album" class=" mt-[200px] flex place-content-center place-items-center">