🚑 Fix timetable and profile export charset

This commit is contained in:
2023-08-28 11:51:36 +02:00
parent cce7bd55da
commit 607e304c50
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ function importProfile(event) {
function exportProfile(profile) {
download(
JSON.stringify(profile),
new Blob(["\ufeff", JSON.stringify(profile)]),
`profile-${profile.id}.json`,
"application/json",
);

View File

@ -51,7 +51,7 @@ function importTimetable(event) {
function exportTimetable(timetable) {
download(
JSON.stringify(timetable),
new Blob(["\ufeff", JSON.stringify(timetable)]),
`timetable-${timetable.id}.json`,
"application/json",
);