Skip to content

Commit

Permalink
fix(sql lab): when editing a saved query, the status is lost when swi…
Browse files Browse the repository at this point in the history
…tching tabs (#19448)
  • Loading branch information
diegomedina248 committed Apr 22, 2022
1 parent 3f0413b commit 800ced5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions superset-frontend/src/SqlLab/actions/sqlLab.js
Original file line number Diff line number Diff line change
Expand Up @@ -1279,6 +1279,7 @@ export function popSavedQuery(saveQueryId) {
.then(({ json }) => {
const queryEditorProps = {
...convertQueryToClient(json.result),
loaded: true,
autorun: false,
};
return dispatch(addQueryEditor(queryEditorProps));
Expand Down

0 comments on commit 800ced5

Please sign in to comment.