🚑 Fix timetable and profile export charset
This commit is contained in:
@ -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",
|
||||
);
|
||||
|
@ -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",
|
||||
);
|
||||
|
Reference in New Issue
Block a user