mirror of https://github.com/portainer/portainer
fix(applications/ports-mapping): load balancer link expand only if the item length > 1 (#4495)
parent
1ad4623b08
commit
eadd8b36d6
|
@ -87,7 +87,7 @@ class KubernetesApplicationsController {
|
||||||
_.forEach(this.ports, (item) => {
|
_.forEach(this.ports, (item) => {
|
||||||
item.Expanded = false;
|
item.Expanded = false;
|
||||||
item.Highlighted = false;
|
item.Highlighted = false;
|
||||||
if (item.Name === application.Name) {
|
if (item.Name === application.Name && item.Ports.length > 1) {
|
||||||
item.Expanded = true;
|
item.Expanded = true;
|
||||||
item.Highlighted = true;
|
item.Highlighted = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue