Fixing bug in ingress view when there are no paths configured

This commit is contained in:
Eric Herbrandson
2020-05-07 15:28:12 -05:00
parent aa6056fbfb
commit 65fe59bfd7
+1 -1
View File
@@ -61,7 +61,7 @@ export default class Ingress extends Base {
<TableBody items={rules} colSpan='4' row={rule => (
<Fragment key={rule.host}>
{rule.http.paths.map(path => (
{_.map(rule.http.paths, path => (
<tr key={`${rule.host}:${path.path}`}>
<td>{rule.host}</td>
<td>{path.path}</td>