Small fixes

This commit is contained in:
Pieter Vander Vennet 2021-05-20 12:27:33 +02:00
parent 092a627b64
commit 95f421a6ae
5 changed files with 17 additions and 9 deletions

View file

@ -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;