From 14f70fa858ac5a1640f9d0e48863073c3f584e02 Mon Sep 17 00:00:00 2001 From: Ben Coleman Date: Mon, 6 Apr 2020 08:53:54 +0100 Subject: [PATCH] fix: InfoBox ingress with no IP error --- web/client/src/components/InfoBox.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/client/src/components/InfoBox.vue b/web/client/src/components/InfoBox.vue index a907e22..b1458b5 100644 --- a/web/client/src/components/InfoBox.vue +++ b/web/client/src/components/InfoBox.vue @@ -133,7 +133,9 @@ export default { if (this.utilsCheckNested(statusCopy, 'loadBalancer', 'ingress')) { statusCopy.loadBalancerIPs = '' for (let ingress of statusCopy.loadBalancer.ingress) { - statusCopy.loadBalancerIPs += (ingress.ip.toString() + ' ') + if (ingress.ip && ingress.ip.length > 0) { + statusCopy.loadBalancerIPs += (ingress.ip.toString() + ' ') + } } }