fardin-developer commented on code in PR #32665:
URL: https://github.com/apache/superset/pull/32665#discussion_r1996678763


##########
superset-frontend/plugins/plugin-chart-table/src/TableChart.tsx:
##########
@@ -605,6 +605,15 @@ export default function TableChart<D extends DataRecord = 
DataRecord>(
       // Calculate the number of placeholder columns needed before the current 
header
       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;
+
+      if (!columnsMeta[value[0]]?.originalLabel) {
+        // Use a proper logging function if available
+        console.debug(
+          `originalLabel not found for column at index ${value[0]}, using key 
as fallback`,
+        );

Review Comment:
   removed



-- 
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]

Reply via email to