diff --git a/superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnSelect.tsx b/superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnSelect.tsx index c68ee009ea178..529d4c7c78f8b 100644 --- a/superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnSelect.tsx +++ b/superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnSelect.tsx @@ -127,14 +127,7 @@ export function DndColumnSelect(props: DndColumnSelectProps) { ); const popoverOptions = useMemo( - () => - Object.values(options).filter( - col => - !optionSelector.values - .filter(isColumnMeta) - .map((val: ColumnMeta) => val.column_name) - .includes(col.column_name), - ), + () => Object.values(options), [optionSelector.values, options], );