mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-04-05 19:30:21 +00:00
Merge branch 'dev'
This commit is contained in:
@@ -169,6 +169,8 @@ function filterLayerTree(t: LayerTreeType, allowed: LayerTreeType | undefined):
|
||||
Object.keys(allowed).forEach((key) => {
|
||||
if (Object.hasOwn(t, key)) {
|
||||
filtered[key] = t[key];
|
||||
} else {
|
||||
filtered[key] = allowed[key];
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user