Skip to content

Commit 3c2fc3e

Browse files
committed
Fix: repository and project parameters
1 parent 2eca683 commit 3c2fc3e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

mapBuilder/www/js/components/LayerStore.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,10 @@ export class LayerStore extends HTMLElement {
206206
children.forEach((child) => {
207207
child.repository = element.getRepository();
208208
child.project = element.getProject();
209+
// Check if the child has children and continue update
210+
if (child.hasOwnProperty('children') && child.children.length > 0) {
211+
updateChildrenAttributes(child.children, element);
212+
}
209213
});
210214
};
211215

0 commit comments

Comments
 (0)