🚑 Fix timetable and profile export charset
This commit is contained in:
@ -51,7 +51,7 @@ function importProfile(event) {
|
|||||||
|
|
||||||
function exportProfile(profile) {
|
function exportProfile(profile) {
|
||||||
download(
|
download(
|
||||||
JSON.stringify(profile),
|
new Blob(["\ufeff", JSON.stringify(profile)]),
|
||||||
`profile-${profile.id}.json`,
|
`profile-${profile.id}.json`,
|
||||||
"application/json",
|
"application/json",
|
||||||
);
|
);
|
||||||
|
@ -51,7 +51,7 @@ function importTimetable(event) {
|
|||||||
|
|
||||||
function exportTimetable(timetable) {
|
function exportTimetable(timetable) {
|
||||||
download(
|
download(
|
||||||
JSON.stringify(timetable),
|
new Blob(["\ufeff", JSON.stringify(timetable)]),
|
||||||
`timetable-${timetable.id}.json`,
|
`timetable-${timetable.id}.json`,
|
||||||
"application/json",
|
"application/json",
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user