Update vraGetNetworksSorted.js

This commit is contained in:
John Bowdre 2022-06-14 11:20:29 -05:00 committed by GitHub
parent 0da6590084
commit b47a046227
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -28,8 +28,8 @@ if (!(zoneName == "" || zoneName == null)) {
System.debug(JSON.stringify(networkProps));
var networkTag = null;
for each (tag in networkProps.tags) {
if (tag.key === "network") {
networkTag = "network:" + tag.value;
if (tag.key === "net") {
networkTag = "net:" + tag.value;
}
if (networkTag != null) { break; };
}