浏览代码

feat(web): archive from album (#3773)

Jason Rasmussen 1 年之前
父节点
当前提交
fbeb4664f7
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      web/src/routes/(user)/albums/[albumId]/+page.svelte

+ 2 - 0
web/src/routes/(user)/albums/[albumId]/+page.svelte

@@ -6,6 +6,7 @@
   import Button from '$lib/components/elements/buttons/button.svelte';
   import CircleIconButton from '$lib/components/elements/buttons/circle-icon-button.svelte';
   import AddToAlbum from '$lib/components/photos-page/actions/add-to-album.svelte';
+  import ArchiveAction from '$lib/components/photos-page/actions/archive-action.svelte';
   import CreateSharedLink from '$lib/components/photos-page/actions/create-shared-link.svelte';
   import DeleteAssets from '$lib/components/photos-page/actions/delete-assets.svelte';
   import DownloadAction from '$lib/components/photos-page/actions/download-action.svelte';
@@ -292,6 +293,7 @@
         {#if isAllUserOwned}
           <FavoriteAction menuItem removeFavorite={isAllFavorite} />
         {/if}
+        <ArchiveAction menuItem />
         <DownloadAction menuItem filename="{album.albumName}.zip" />
         {#if isOwned || isAllUserOwned}
           <RemoveFromAlbum menuItem bind:album onRemove={(assetIds) => handleRemoveAssets(assetIds)} />