This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new dcc9628f31 fix(viz/table): selected column not shown in Conditional
Formatting popover (#32272)
dcc9628f31 is described below
commit dcc9628f3144c6085f5a1813aa78d811cee1069f
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]>
---
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