✨ Allow entering custon substitution filter
This commit is contained in:
@ -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