Allow entering custon substitution filter

This commit is contained in:
2022-05-01 21:03:34 +02:00
parent e5f7948c46
commit 118924aa76

View File

@ -9,6 +9,9 @@ export const timetableClass = ref(
);
watch(substitutionFilter, (newValue) => {
if (newValue == "other") {
newValue = prompt("Please enter a class to filter (e.g. 9C)");
}
localStorage.setItem("substitutionFilter", newValue);
});
watch(timetableClass, (newValue) => {