msyavuz commented on code in PR #34300:
URL: https://github.com/apache/superset/pull/34300#discussion_r2229869443
##########
superset-frontend/plugins/plugin-chart-table/src/TableChart.tsx:
##########
@@ -629,7 +629,11 @@ export default function TableChart<D extends DataRecord =
DataRecord>(
const startPosition = value[0];
const colSpan = value.length;
// Retrieve the originalLabel from the first column in this group
- const originalLabel = columnsMeta[value[0]]?.originalLabel || key;
+ const firstColumnInGroup = filteredColumnsMeta[value[0]];
Review Comment:
Can't we use startPosition here?
```suggestion
const firstColumnInGroup = filteredColumnsMeta[startPosition];
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]