diff --git a/client/src/App.svelte b/client/src/App.svelte index fec47f6..9dc2532 100644 --- a/client/src/App.svelte +++ b/client/src/App.svelte @@ -30,6 +30,7 @@ let wsCounts; let refreshTimer = null; const location = useLocation(); + $: isMusicRoute = ($location?.pathname || "").startsWith("/music"); const scheduleMediaRefresh = () => { if (refreshTimer) return; @@ -165,7 +166,7 @@ - {#if !($location?.pathname || "").startsWith("/music")} + {#if !isMusicRoute} {/if}