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/07 22:35:00 UTC

[superset] branch master updated: fix(capitalization): Capitalizing the 'metric' label in Pivot Tables (#24265)

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

rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 46c2479db2 fix(capitalization): Capitalizing the 'metric' label in Pivot Tables (#24265)
46c2479db2 is described below

commit 46c2479db2507d5117264b33a5266526e7a3b829
Author: Evan Rusackas <ev...@preset.io>
AuthorDate: Wed Jun 7 16:34:52 2023 -0600

    fix(capitalization): Capitalizing the 'metric' label in Pivot Tables (#24265)
---
 .../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)`