mirror of
https://github.com/apache/superset.git
synced 2026-07-11 17:25:31 +00:00
fix: SQL Lab tab events (#35105)
This commit is contained in:
committed by
GitHub
parent
06261f262b
commit
e729b2dbb4
@@ -395,6 +395,7 @@ export function runQueryFromSqlEditor(
|
||||
dbId: qe.dbId,
|
||||
sql: qe.selectedText || qe.sql,
|
||||
sqlEditorId: qe.tabViewId ?? qe.id,
|
||||
immutableId: qe.immutableId,
|
||||
tab: qe.name,
|
||||
catalog: qe.catalog,
|
||||
schema: qe.schema,
|
||||
@@ -537,6 +538,7 @@ export function addQueryEditor(queryEditor) {
|
||||
const newQueryEditor = {
|
||||
...queryEditor,
|
||||
id: nanoid(11),
|
||||
immutableId: nanoid(11),
|
||||
loaded: true,
|
||||
inLocalStorage: true,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user