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:10 UTC

[superset] branch capitalize-metric-label created (now ae00092316)

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

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


      at ae00092316 fix(capitalization): Capitalizing the 'metric' label in Pivot Tables

This branch includes the following new commits:

     new ae00092316 fix(capitalization): Capitalizing the 'metric' label in Pivot Tables

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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

Posted by ru...@apache.org.
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)`