Skip to content

Commit

Permalink
fix a small issue
Browse files Browse the repository at this point in the history
Signed-off-by: farodin91 <[email protected]>
  • Loading branch information
farodin91 committed Jan 3, 2025
1 parent a1139be commit 8e4a99d
Show file tree
Hide file tree
Showing 13 changed files with 1,960 additions and 2,499 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/gateway/HTTPRouteDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default function HTTPRouteDetails(props: { name?: string; namespace?: str
httpRoute && [
{
name: 'Hostnames',
value: <LabelListItem labels={httpRoute.hostnames?.map(tls => `${tls}`)} />,
value: <LabelListItem labels={httpRoute.hostnames.map(tls => `${tls}`)} />,
},
]
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/gateway/HTTPRouteList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function HTTPRouteList() {
{
id: 'rules',
label: t('translation|rules'),
getValue: (httpRoute: HTTPRoute) => httpRoute.spec.rules.length,
getValue: (httpRoute: HTTPRoute) => httpRoute.spec.rules?.length,
},
'age',
]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
class="MuiGrid-root MuiGrid-item css-13i4rnv-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-container MuiGrid-item css-43x3z6-MuiGrid-root"
class="MuiGrid-root MuiGrid-container MuiGrid-item css-ztq4zc-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-item css-13i4rnv-MuiGrid-root"
Expand Down
1,016 changes: 444 additions & 572 deletions frontend/src/components/gateway/__snapshots__/ClassList.Items.stories.storyshot

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
GRPCRoute
GRPCRoute: default-httproute
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand All @@ -58,7 +58,7 @@
class="MuiGrid-root MuiGrid-item css-13i4rnv-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-container MuiGrid-item css-43x3z6-MuiGrid-root"
class="MuiGrid-root MuiGrid-container MuiGrid-item css-ztq4zc-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-item css-13i4rnv-MuiGrid-root"
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
Gateway
Gateway: default-gateway
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand All @@ -58,7 +58,7 @@
class="MuiGrid-root MuiGrid-item css-13i4rnv-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-container MuiGrid-item css-43x3z6-MuiGrid-root"
class="MuiGrid-root MuiGrid-container MuiGrid-item css-ztq4zc-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-item css-13i4rnv-MuiGrid-root"
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
HTTPRoute
HTTPRoute: default-httproute
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand All @@ -58,7 +58,7 @@
class="MuiGrid-root MuiGrid-item css-13i4rnv-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-container MuiGrid-item css-43x3z6-MuiGrid-root"
class="MuiGrid-root MuiGrid-container MuiGrid-item css-ztq4zc-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-item css-13i4rnv-MuiGrid-root"
Expand Down
Loading

0 comments on commit 8e4a99d

Please sign in to comment.