mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-27 02:27:18 +00:00
update extension api
This commit is contained in:
1 parent
50a5cb23f5
commit
110f23bdf1
5 files changed
+63
-42
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user