Bug Fixed saving layer maneger object

This commit is contained in:
Luis Fernando Molina committed 2020-01-31 13:53:22 +01:00
1 parent 5bd3d1712d
commit 4d22ec8bc9
2 files changed
+47 -20

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ function savePropertyAtNodeConfig (payload, propertyName, value) {
try {
let code = JSON.parse(payload.node.code)
code[propertyName] = value
payload.node.code = JSON.stringify(code)
payload.node.code = JSON.stringify(code, null, 4)
} catch (err) {
// we ignore errors here since most likely they will be parsing errors.
}