mirror of
https://github.com/portainer/portainer.git
synced 2025-07-20 13:59:40 +02:00
fix(applications/ports-mapping): load balancer link expand only if the item length > 1 (#4495)
This commit is contained in:
parent
1ad4623b08
commit
eadd8b36d6
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class KubernetesApplicationsController {
|
|||
_.forEach(this.ports, (item) => {
|
||||
item.Expanded = false;
|
||||
item.Highlighted = false;
|
||||
if (item.Name === application.Name) {
|
||||
if (item.Name === application.Name && item.Ports.length > 1) {
|
||||
item.Expanded = true;
|
||||
item.Highlighted = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue