chore(sqllab): Remove table metadata from state (#24371)

This commit is contained in:
JUST.in DO IT
2023-06-22 15:37:03 -07:00
committed by GitHub
parent 2a4ef5cccf
commit 51a34d7d58
14 changed files with 515 additions and 410 deletions

View File

@@ -164,9 +164,9 @@ const SqlEditorLeftBar = ({
return true;
});
tablesToAdd.forEach(tableName =>
dispatch(addTable(queryEditor, database, tableName, schemaName)),
);
tablesToAdd.forEach(tableName => {
dispatch(addTable(queryEditor, tableName, schemaName));
});
dispatch(removeTables(currentTables));
};