diff --git a/i18n/en.json b/i18n/en.json index 1be84c5e7a..2fa37114c7 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -1487,6 +1487,7 @@ "refreshing_metadata": "Refreshing metadata", "regenerating_thumbnails": "Regenerating thumbnails", "remove": "Remove", + "remove_album": "Remove album", "remove_assets_album_confirmation": "Are you sure you want to remove {count, plural, one {# asset} other {# assets}} from the album?", "remove_assets_shared_link_confirmation": "Are you sure you want to remove {count, plural, one {# asset} other {# assets}} from this shared link?", "remove_assets_title": "Remove assets?", diff --git a/web/src/lib/components/shared-components/search-bar/search-albums-section.svelte b/web/src/lib/components/shared-components/search-bar/search-albums-section.svelte index a464b046cb..7a72bb16aa 100644 --- a/web/src/lib/components/shared-components/search-bar/search-albums-section.svelte +++ b/web/src/lib/components/shared-components/search-bar/search-albums-section.svelte @@ -1,7 +1,6 @@ -{#if $preferences?.tags?.enabled} -
-
-
- ({ - id: album.id, - label: album.albumName, - value: album.id, - thumbnail: album.albumThumbnailAssetId ? getAssetThumbnailUrl(album.albumThumbnailAssetId) : undefined, - }))} - bind:selectedOption - placeholder={$t('search_albums')} - /> -
-
+
+
+
+ ({ + id: album.id, + label: album.albumName, + value: album.id, + thumbnail: album.albumThumbnailAssetId ? getAssetThumbnailUrl(album.albumThumbnailAssetId) : undefined, + }))} + bind:selectedOption + placeholder={$t('search_albums')} + /> +
+
-
- {#each sortedSelectedAlbums as albumId (albumId)} - {@const album = albumMap[albumId]} - {#if album} -
- -

- {album.albumName} -

-
- - -
- {/if} - {/each} -
-
-{/if} +
+ {#each sortedSelectedAlbums as albumId (albumId)} + {@const album = albumMap[albumId]} + {#if album} +
+ +

+ {album.albumName} +

+
+ +
+ {/if} + {/each} +
+
\ No newline at end of file +