bito-code-review[bot] commented on PR #36990:
URL: https://github.com/apache/superset/pull/36990#issuecomment-3738331908

   <!-- Bito Reply -->
   To improve null safety, use optional chaining on `option` in case it's null, 
combined with the fallback: `(option?.column_name || '').toLowerCase()`. This 
prevents errors if `option` is undefined while still handling `column_name` 
being null.
   
   **superset-frontend/plugins/plugin-chart-ag-grid-table/src/controlPanel.tsx**
   ```
   (option?.column_name || '').toLowerCase(),
   ```


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