diff --git a/src/lib/components/views/LocalLibraryView.svelte b/src/lib/components/views/LocalLibraryView.svelte index 047b358a4..7cc8f78b2 100644 --- a/src/lib/components/views/LocalLibraryView.svelte +++ b/src/lib/components/views/LocalLibraryView.svelte @@ -10,6 +10,7 @@ } from 'lucide-svelte'; import FolderSettingsModal from '../FolderSettingsModal.svelte'; import LocalLibraryTagEditorModal from '../LocalLibraryTagEditorModal.svelte'; + import ViewTransition from '../ViewTransition.svelte'; import { t } from '$lib/i18n'; import { downloadSettingsVersion } from '$lib/stores/downloadSettingsStore'; import { showToast } from '$lib/stores/toastStore'; @@ -2575,6 +2576,7 @@ } +
0) || (activeTab === 'artists' && artists.length > 0) || (activeTab === 'tracks' && tracks.length > 0))}> {#if selectedAlbum} {@const albumSections = buildAlbumSections(albumTracks)} @@ -2938,6 +2940,8 @@
{:else if activeTab === 'albums'} + {#key activeTab} + {#if showHiddenAlbums}
@@ -3242,7 +3246,11 @@ {/if} {/if} {/if} + + {/key} {:else if activeTab === 'artists'} + {#key activeTab} + {#if artists.length === 0}
@@ -3357,7 +3365,11 @@
{/if} +
+ {/key} {:else if activeTab === 'tracks'} + {#key activeTab} + {#if tracks.length === 0}
@@ -3465,10 +3477,13 @@ {/if}
{/if} +
+ {/key} {/if} {/if} +
{#if showAlbumEditModal && selectedAlbum}