feat(ui): music sayfasında mini player'ı gizle _2

This commit is contained in:
2026-02-03 16:53:15 +03:00
parent e66ace9ed5
commit 6fc2d2c45f

View File

@@ -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 @@
<Route path="/trash" component={Trash} />
</div>
{#if !($location?.pathname || "").startsWith("/music")}
{#if !isMusicRoute}
<MiniPlayer />
{/if}
<Toast />