We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a66476 commit 4d23c18Copy full SHA for 4d23c18
1 file changed
packages/plugins/src/wizards/connectedap.ts
@@ -330,7 +330,7 @@ export function createTypeRestrictionCheckbox(
330
}
331
332
function getIpsInSubnetwork(element: Element): string[] {
333
- const subnetwork = element.closest('SubNetwork');
+ const subnetwork = element.parentElement; // SubNetwork is the parent of ConnectedAP
334
if (!subnetwork) return [];
335
336
return Array.from(subnetwork.querySelectorAll(':scope > ConnectedAP > Address > P[type="IP"]'))
0 commit comments