🚑 Fix timetable and profile export charset
This commit is contained in:
1 parent
cce7bd55da
commit
607e304c50
2 files changed
+2
-2
No files matched your search
@@ -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