Skip to content

Commit

Permalink
feat (#40077)
Browse files Browse the repository at this point in the history
Signed-off-by: chaowang <[email protected]>
  • Loading branch information
chaowanggg authored Oct 4, 2023
1 parent c6cbb2a commit 50dc078
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dashboard/client/src/components/AutoscalerStatusCards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const NodeStatusCard = ({ cluster_status }: StatusCardProps) => {
overflowY: "scroll",
}}
>
{cluster_status?.data
{cluster_status?.data && cluster_status?.data?.clusterStatus
? formatNodeStatus(cluster_status?.data.clusterStatus)
: "No cluster status."}
</Box>
Expand All @@ -80,7 +80,7 @@ export const ResourceStatusCard = ({ cluster_status }: StatusCardProps) => {
overflowY: "scroll",
}}
>
{cluster_status?.data
{cluster_status?.data && cluster_status?.data?.clusterStatus
? formatResourcesStatus(cluster_status?.data.clusterStatus)
: "No cluster status."}
</Box>
Expand Down

0 comments on commit 50dc078

Please sign in to comment.