feat(applications/ports-mapping): load balancer link expand only if item length > 1 (#148)
This commit is contained in:
@@ -94,7 +94,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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user