✨ Allow entering custon substitution filter
This commit is contained in:
1 parent
e5f7948c46
commit
118924aa76
1 file changed
+3
@@ -9,6 +9,9 @@ export const timetableClass = ref(
|
|||||||
);
|
);
|
||||||
|
|
||||||
watch(substitutionFilter, (newValue) => {
|
watch(substitutionFilter, (newValue) => {
|
||||||
|
if (newValue == "other") {
|
||||||
|
newValue = prompt("Please enter a class to filter (e.g. 9C)");
|
||||||
|
}
|
||||||
localStorage.setItem("substitutionFilter", newValue);
|
localStorage.setItem("substitutionFilter", newValue);
|
||||||
});
|
});
|
||||||
watch(timetableClass, (newValue) => {
|
watch(timetableClass, (newValue) => {
|
||||||
|
|||||||
Reference in new issue
Block a user