mirror of
https://github.com/apache/superset.git
synced 2026-04-21 17:14:57 +00:00
fix(sql lab): MultiSelector component render twice (#20706)
* fix(sql lab): MultiSelector component render twice * filter null/undefined tables
This commit is contained in:
@@ -167,7 +167,7 @@ export default function SqlEditorLeftBar({
|
||||
actions.addTable(queryEditor, database, tableName, schemaName),
|
||||
);
|
||||
|
||||
currentTables.forEach(table => actions.removeTable(table));
|
||||
actions.removeTables(currentTables);
|
||||
};
|
||||
|
||||
const onToggleTable = (updatedTables: string[]) => {
|
||||
|
||||
Reference in New Issue
Block a user