mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix ingress points rendering if no data available (#906)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
1 parent
f5d41c645c
commit
0fedba5b66
1 file changed
+1
-1
@@ -67,7 +67,7 @@ export class IngressDetails extends React.Component<Props> {
|
||||
}
|
||||
|
||||
renderIngressPoints(ingressPoints: ILoadBalancerIngress[]) {
|
||||
if (ingressPoints.length === 0) return null
|
||||
if (!ingressPoints || ingressPoints.length === 0) return null
|
||||
return (
|
||||
<div>
|
||||
<Table className="ingress-points">
|
||||
|
||||
Reference in new issue
Block a user