From 45bf07296d5cf1486493124139c3c527d07c1bb7 Mon Sep 17 00:00:00 2001 From: maqian Date: Thu, 16 Jan 2020 11:54:52 +0800 Subject: [PATCH] Fix pivot table setup verbose name --- .../src/PivotTable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/superset-ui-legacy-plugin-chart-pivot-table/src/PivotTable.js b/packages/superset-ui-legacy-plugin-chart-pivot-table/src/PivotTable.js index 90b15beaa..2c3589a71 100644 --- a/packages/superset-ui-legacy-plugin-chart-pivot-table/src/PivotTable.js +++ b/packages/superset-ui-legacy-plugin-chart-pivot-table/src/PivotTable.js @@ -61,7 +61,7 @@ function PivotTable(element, props) { $(this)[0].textContent = verboseMap[s] || s; }; $container.find('thead tr:first th').each(replaceCell); - $container.find('thead tr th:first-child').each(replaceCell); + $container.find('thead tr th').each(replaceCell); // jQuery hack to format number $container.find('tbody tr').each(function eachRow() {