mirror of
https://github.com/apache/superset.git
synced 2026-04-18 07:35:09 +00:00
fix(pivot-table-v2): Added forgotten translation pivot table v2 (#22840)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user