From 2c30773e951ba40c88d218ce56d276ad24956159 Mon Sep 17 00:00:00 2001 From: Alexander Goryushkin Date: Thu, 30 May 2024 23:39:32 -0400 Subject: [PATCH] dont save reference-layers children in JSON --- src/json-utils_1.1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/json-utils_1.1.js b/src/json-utils_1.1.js index a084b1e9a..787178cc6 100644 --- a/src/json-utils_1.1.js +++ b/src/json-utils_1.1.js @@ -68,7 +68,7 @@ function getElementData(entity) { return; } // node id's that should save without child nodes - const skipChildrenNodes = ['environment']; + const skipChildrenNodes = ['environment', 'reference-layers']; const elementTree = getAttributes(entity); const children = entity.childNodes; if (children.length && !skipChildrenNodes.includes(elementTree.id)) {