balancerTags with a default empty entry

This commit is contained in:
MHSanaei
2026-04-21 17:24:42 +02:00
parent faec3ca038
commit 733f44ef0f
2 changed files with 10 additions and 0 deletions

View File

@@ -203,6 +203,7 @@
}
if (app.templateSettings.reverse.portals) this.outboundTags.push(...app.templateSettings.reverse.portals.map(b => b.tag));
}
this.balancerTags = [""];
if (app.templateSettings.routing && app.templateSettings.routing.balancers) {
this.balancerTags = ["", ...app.templateSettings.routing.balancers.filter((o) => !ObjectUtil.isEmpty(o.tag)).map(obj => obj.tag)];
}