From 164656719b78cb17a29063ac1ea9b5c62c7e85f8 Mon Sep 17 00:00:00 2001 From: vikrantgupta25 Date: Fri, 13 Sep 2024 12:18:55 +0530 Subject: [PATCH] chore: set the default to none in case no unit present --- frontend/src/container/PanelWrapper/PiePanelWrapper.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/container/PanelWrapper/PiePanelWrapper.tsx b/frontend/src/container/PanelWrapper/PiePanelWrapper.tsx index 47d83672c6..dce84ad78d 100644 --- a/frontend/src/container/PanelWrapper/PiePanelWrapper.tsx +++ b/frontend/src/container/PanelWrapper/PiePanelWrapper.tsx @@ -134,7 +134,7 @@ function PiePanelWrapper({ // and treats 4K smaller than 40 value: getYAxisFormattedValue( arc.data.value, - widget?.yAxisUnit || '', + widget?.yAxisUnit || 'none', ), color: arc.data.color, key: label,