This is an automated email from the ASF dual-hosted git repository.

michaelsmolina pushed a commit to branch 5.0
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 146311101a2dd435a7648aa829a862f1cb091015
Author: Đỗ Trọng Hải <[email protected]>
AuthorDate: Mon Feb 17 06:39:00 2025 +0700

    fix(viz/table): selected column not shown in Conditional Formatting popover 
(#32272)
    
    Signed-off-by: hainenber <[email protected]>
    (cherry picked from commit dcc9628f3144c6085f5a1813aa78d811cee1069f)
---
 superset-frontend/plugins/plugin-chart-table/src/controlPanel.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset-frontend/plugins/plugin-chart-table/src/controlPanel.tsx 
b/superset-frontend/plugins/plugin-chart-table/src/controlPanel.tsx
index c051bdff78..c39ad116c7 100644
--- a/superset-frontend/plugins/plugin-chart-table/src/controlPanel.tsx
+++ b/superset-frontend/plugins/plugin-chart-table/src/controlPanel.tsx
@@ -653,7 +653,7 @@ const config: ControlPanelConfig = {
                           value: colname,
                           label: Array.isArray(verboseMap)
                             ? colname
-                            : verboseMap[colname],
+                            : (verboseMap[colname] ?? colname),
                         }))
                     : [];
                 const columnOptions = explore?.controls?.time_compare?.value

Reply via email to