From e3675dc21ff452f23801862c91005ac8fc29ff59 Mon Sep 17 00:00:00 2001 From: Diana Birsan Date: Tue, 28 Jan 2025 17:29:28 +0200 Subject: [PATCH] fix: condition for displaying resource limit --- .../everest/src/components/cluster-form/resources/resources.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/apps/everest/src/components/cluster-form/resources/resources.tsx b/ui/apps/everest/src/components/cluster-form/resources/resources.tsx index 60c2caf07..285e81243 100644 --- a/ui/apps/everest/src/components/cluster-form/resources/resources.tsx +++ b/ui/apps/everest/src/components/cluster-form/resources/resources.tsx @@ -120,7 +120,7 @@ const ResourceInput = ({ sx={{ whiteSpace: 'nowrap' }} color={theme.palette.text.secondary} >{`x ${numberOfUnits} ${+numberOfUnits > 1 ? unitPlural : unit}`} - {value && numberOfUnits && ( + {!!value && numberOfUnits && (