From f311a7f87ca9b1459fefb00fada394525f32a01e Mon Sep 17 00:00:00 2001
From: Bastien Dumont <bdumont@grandlyon.com>
Date: Mon, 4 Mar 2024 15:43:42 +0100
Subject: [PATCH] fix: render "0" on analysis view

---
 src/components/Analysis/ProfileComparator/ProfileComparator.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/Analysis/ProfileComparator/ProfileComparator.tsx b/src/components/Analysis/ProfileComparator/ProfileComparator.tsx
index a4159281d..284593ddf 100644
--- a/src/components/Analysis/ProfileComparator/ProfileComparator.tsx
+++ b/src/components/Analysis/ProfileComparator/ProfileComparator.tsx
@@ -177,7 +177,7 @@ const ProfileComparator = ({
           />
           {performanceIndicators.map(
             (indicator, index) =>
-              indicator.value && (
+              Boolean(indicator.value) && (
                 <ProfileComparatorRow
                   key={FluidType[index]}
                   fluid={index}
-- 
GitLab