mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-12-02 18:12:11 +00:00
update extension api
This commit is contained in:
@@ -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