diff --git a/src/pages/Zone/Card/ZoneLocationsTree.vue b/src/pages/Zone/Card/ZoneLocationsTree.vue index 5cb0a8977..7f8ff205f 100644 --- a/src/pages/Zone/Card/ZoneLocationsTree.vue +++ b/src/pages/Zone/Card/ZoneLocationsTree.vue @@ -96,7 +96,7 @@ function getNodeIds(node) { let ids = []; if (node.id) ids.push(node.id); - const children = node.child || node.children; + const children = node.childs || node.children; if (children) { children.forEach((child) => { ids = ids.concat(getNodeIds(child));