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:
parent
f5d41c645c
commit
0fedba5b66
@ -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">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user