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() {