From 01f751d0d56437d733727527dfb8a49f3aa97920 Mon Sep 17 00:00:00 2001 From: Gordon Smith Date: Mon, 23 Sep 2024 15:02:11 +0100 Subject: [PATCH] HPCC-32337 Don't color metrics with a std deviation == 0 Signed-off-by: Gordon Smith --- esp/src/src-react/components/Metrics.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp/src/src-react/components/Metrics.tsx b/esp/src/src-react/components/Metrics.tsx index 95d16528912..f6fec060b8e 100644 --- a/esp/src/src-react/components/Metrics.tsx +++ b/esp/src/src-react/components/Metrics.tsx @@ -124,7 +124,7 @@ class TableEx extends Table { row.__formattedProps[p] ?? row[p] ?? ""; - }), row.__StdDevsSource, row]; + }), row.__StdDevs === 0 ? "" : row.__StdDevsSource, row]; })) ; return this;