mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	feat(web): archive from album (#3773)
This commit is contained in:
		| @@ -6,6 +6,7 @@ | |||||||
|   import Button from '$lib/components/elements/buttons/button.svelte'; |   import Button from '$lib/components/elements/buttons/button.svelte'; | ||||||
|   import CircleIconButton from '$lib/components/elements/buttons/circle-icon-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 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 CreateSharedLink from '$lib/components/photos-page/actions/create-shared-link.svelte'; | ||||||
|   import DeleteAssets from '$lib/components/photos-page/actions/delete-assets.svelte'; |   import DeleteAssets from '$lib/components/photos-page/actions/delete-assets.svelte'; | ||||||
|   import DownloadAction from '$lib/components/photos-page/actions/download-action.svelte'; |   import DownloadAction from '$lib/components/photos-page/actions/download-action.svelte'; | ||||||
| @@ -292,6 +293,7 @@ | |||||||
|         {#if isAllUserOwned} |         {#if isAllUserOwned} | ||||||
|           <FavoriteAction menuItem removeFavorite={isAllFavorite} /> |           <FavoriteAction menuItem removeFavorite={isAllFavorite} /> | ||||||
|         {/if} |         {/if} | ||||||
|  |         <ArchiveAction menuItem /> | ||||||
|         <DownloadAction menuItem filename="{album.albumName}.zip" /> |         <DownloadAction menuItem filename="{album.albumName}.zip" /> | ||||||
|         {#if isOwned || isAllUserOwned} |         {#if isOwned || isAllUserOwned} | ||||||
|           <RemoveFromAlbum menuItem bind:album onRemove={(assetIds) => handleRemoveAssets(assetIds)} /> |           <RemoveFromAlbum menuItem bind:album onRemove={(assetIds) => handleRemoveAssets(assetIds)} /> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user