🚸 Improve UX in timetable editor

This commit is contained in:
2023-06-20 15:25:16 +02:00
parent 76b7946b13
commit 1bfd156a03
4 changed files with 16 additions and 7 deletions

View File

@ -33,6 +33,7 @@ function importTimetable(event) {
if (!data.data) throw "Invalid data";
localTimetables.value.push(data);
} catch (e) {
console.log(e.stack);
alert("Import failed! Check your timetable file!");
}
};