From 146311101a2dd435a7648aa829a862f1cb091015 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90=E1=BB=97=20Tr=E1=BB=8Dng=20H=E1=BA=A3i?= <41283691+hainenber@users.noreply.github.com> Date: Mon, 17 Feb 2025 06:39:00 +0700 Subject: [PATCH] fix(viz/table): selected column not shown in Conditional Formatting popover (#32272) Signed-off-by: hainenber (cherry picked from commit dcc9628f3144c6085f5a1813aa78d811cee1069f) --- .../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 c051bdff787..c39ad116c73 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