From 5528674b171f527fdfeba2f71361085f41f6a43d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Prod=27homme?= Date: Thu, 28 Nov 2024 12:05:47 +0100 Subject: [PATCH] fix(client): Position of min/max values in scale legend --- client/src/components/map/legend/item/scale-legend.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/client/src/components/map/legend/item/scale-legend.tsx b/client/src/components/map/legend/item/scale-legend.tsx index 412821c..fbd8781 100644 --- a/client/src/components/map/legend/item/scale-legend.tsx +++ b/client/src/components/map/legend/item/scale-legend.tsx @@ -93,7 +93,13 @@ const ScaleLegend = (data: ScaleLegendProps) => { ))} {!!minMaxValues && ( -
+
{minMaxValues[0] !== undefined && (
{minMaxValues[1]}