diff --git a/static/js/topology.js b/static/js/topology.js index 3b3ca3d..43f8f2c 100644 --- a/static/js/topology.js +++ b/static/js/topology.js @@ -134,7 +134,7 @@ export function getSwitchesInLocation(loc, assignedNodes) { if (isAP(n) && loc.isAPLocation) switches.push(n); }); loc.children.forEach(child => { - if (child.anonymous || child.isAPLocation) { + if (child.anonymous && !child.isAPLocation) { switches.push(...getSwitchesInLocation(child, assignedNodes)); } });