forked from MapComplete/MapComplete
Small fixes
This commit is contained in:
parent
092a627b64
commit
95f421a6ae
5 changed files with 17 additions and 9 deletions
2
index.ts
2
index.ts
|
@ -106,6 +106,8 @@ if (layoutFromBase64.startsWith("http")) {
|
|||
let parsed = data;
|
||||
if (typeof parsed == "string") {
|
||||
parsed = JSON.parse(data);
|
||||
}else{
|
||||
data = JSON.stringify(parsed) // De wereld op zijn kop
|
||||
}
|
||||
// Overwrite the id to the wiki:value
|
||||
parsed.id = link;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue