Always-prog commented on code in PR #20078:
URL: https://github.com/apache/superset/pull/20078#discussion_r1087106979
##########
superset-frontend/plugins/plugin-chart-pivot-table/src/react-pivottable/TableRenderers.jsx:
##########
@@ -20,12 +20,15 @@
import React from 'react';
import { t } from '@superset-ui/core';
import PropTypes from 'prop-types';
-import { t } from '@superset-ui/core';
import { PivotData, flatKey } from './utilities';
import { Styles } from './Styles';
const parseLabel = value => {
Review Comment:
We do not need to change the parseLabel function. Instead, we can simply
translate the METRIC_KEY constant in
superset-frontend/plugins/plugin-chart-pivot-table/src/PivotTableChart.tsx:58
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]