update extension api

This commit is contained in:
vcoppe
2025-11-12 12:47:26 +01:00
parent 50a5cb23f5
commit 110f23bdf1
5 changed files with 63 additions and 42 deletions

View File

@@ -71,7 +71,7 @@ export function removeByPrefix(node: LayerTreeType, prefix: string) {
if (key.startsWith(prefix)) {
delete node[key];
} else if (typeof node[key] !== 'boolean') {
remove(node[key], prefix);
removeByPrefix(node[key], prefix);
}
});
return node;