Update
This commit is contained in:
rodič
10267c07fe
revize
65012f7953
|
@ -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
|
||||||
});
|
});
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Načítá se…
Odkázat v novém úkolu