Skip to content

Commit

Permalink
fix(pivot-table-v2): Added forgotten translation pivot table v2 (apac…
Browse files Browse the repository at this point in the history
  • Loading branch information
Always-prog authored and sfirke committed Mar 22, 2024
1 parent ede8e21 commit 8f6adc6
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ import { PivotData, flatKey } from './utilities';
import { Styles } from './Styles';

const parseLabel = value => {
if (typeof value === 'number' || typeof value === 'string') {
if (typeof value === 'string') {
if (value === 'metric') return t('metric');
return value;
}
if (typeof value === 'number') {
return value;
}
return String(value);
Expand Down

0 comments on commit 8f6adc6

Please sign in to comment.