Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrocjdpereira committed Sep 25, 2024
1 parent 37ee8ef commit 8a8b06a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cfs-portal/src/components/InstanceGrid/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ const InstanceGrid = ({ minimalConfig = false, instanceCount }: InstanceGridProp
renderCell: (params: any) => {
const warning = metrics && metrics[params.row.id as string]?.warning;

if (warning !== null) {
if (warning !== undefined && warning !== null) {
return (
<Tooltip title={warning}>
<Box display="flex" alignItems="center" justifyContent="center">
Expand Down

0 comments on commit 8a8b06a

Please sign in to comment.