Skip to content

Commit

Permalink
chore: set the default to none in case no unit present
Browse files Browse the repository at this point in the history
  • Loading branch information
vikrantgupta25 committed Sep 13, 2024
1 parent bfa3f2b commit 1646567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/container/PanelWrapper/PiePanelWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1646567

Please sign in to comment.