mirror of
https://github.com/apache/superset.git
synced 2026-07-19 05:05:39 +00:00
fix(SQL Lab): syncTable on new tabs (#35216)
This commit is contained in:
@@ -956,7 +956,7 @@ export function addTable(queryEditor, tableName, catalogName, schemaName) {
|
||||
const { dbId } = getUpToDateQuery(getState(), queryEditor, queryEditor.id);
|
||||
const table = {
|
||||
dbId,
|
||||
queryEditorId: queryEditor.id,
|
||||
queryEditorId: queryEditor.tabViewId ?? queryEditor.id,
|
||||
catalog: catalogName,
|
||||
schema: schemaName,
|
||||
name: tableName,
|
||||
|
||||
Reference in New Issue
Block a user