You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2023/06/01 17:24:11 UTC

[superset] 01/01: fix(capitalization): Capitalizing the 'metric' label in Pivot Tables

This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a commit to branch capitalize-metric-label
in repository https://gitbox.apache.org/repos/asf/superset.git

commit ae000923166185316af047fd9f574cbf9b01e97d
Author: Evan Rusackas <ev...@preset.io>
AuthorDate: Thu Jun 1 11:23:43 2023 -0600

    fix(capitalization): Capitalizing the 'metric' label in Pivot Tables
---
 .../plugins/plugin-chart-pivot-table/src/PivotTableChart.tsx            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset-frontend/plugins/plugin-chart-pivot-table/src/PivotTableChart.tsx b/superset-frontend/plugins/plugin-chart-pivot-table/src/PivotTableChart.tsx
index 9d5718120f..a5610756b2 100644
--- a/superset-frontend/plugins/plugin-chart-pivot-table/src/PivotTableChart.tsx
+++ b/superset-frontend/plugins/plugin-chart-pivot-table/src/PivotTableChart.tsx
@@ -59,7 +59,7 @@ const PivotTableWrapper = styled.div`
   overflow: auto;
 `;
 
-const METRIC_KEY = t('metric');
+const METRIC_KEY = t('Metric');
 const vals = ['value'];
 
 const StyledPlusSquareOutlined = styled(PlusSquareOutlined)`