mirror of
https://github.com/apache/superset.git
synced 2026-04-17 15:15:20 +00:00
[bugfix] saved query restore wouldn't pick the db (#2568)
This commit is contained in:
committed by
GitHub
parent
ca08e7051e
commit
3ed45ab98c
@@ -356,7 +356,7 @@ export function popSavedQuery(saveQueryId) {
|
||||
const sq = data.result;
|
||||
const queryEditorProps = {
|
||||
title: sq.label,
|
||||
dbId: sq.db_id,
|
||||
dbId: sq.db_id ? parseInt(sq.db_id, 10) : null,
|
||||
schema: sq.schema,
|
||||
autorun: false,
|
||||
sql: sq.sql,
|
||||
|
||||
Reference in New Issue
Block a user