This commit is contained in:
tree 2022-06-05 04:03:40 +02:00
rodič 10267c07fe
revize 65012f7953
2 změnil soubory, kde provedl 5 přidání a 2 odebrání

Zobrazit soubor

@ -32,7 +32,7 @@ export const loadInfo = writable({ loaded: false })
export const schedulePref = writable({ export const schedulePref = writable({
stage: null, stage: null,
track: null, track: null,
time: null, time: '2',
tracks: [], tracks: [],
showDescriptions: false showDescriptions: false
}); });

Zobrazit soubor

@ -43,6 +43,9 @@
} }
} else { } else {
sp[up.key] = _sp ? _sp : "all"; sp[up.key] = _sp ? _sp : "all";
if (up.key === 'time') {
sp[up.key] = _sp ? _sp : "2";
}
} }
} }
return sp; return sp;
@ -67,7 +70,7 @@
const spsub = schedulePref.subscribe((sp) => { const spsub = schedulePref.subscribe((sp) => {
const updates = []; const updates = [];
updates.push(["time", sp.time === "all" ? undefined : sp.time]); updates.push(["time", sp.time === "2" ? undefined : sp.time]);
updates.push(["stage", sp.stage === "all" ? undefined : sp.stage]); updates.push(["stage", sp.stage === "all" ? undefined : sp.stage]);
updates.push([ updates.push([
"desc", "desc",