feat(ui): music sayfasında mini player'ı gizle _2
This commit is contained in:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user