This is an automated email from the ASF dual-hosted git repository. villebro pushed a commit to branch 1.5 in repository https://gitbox.apache.org/repos/asf/superset.git
commit 397a182c2f64e5fcba7c71884ba9b6318e812232 Author: Diego Medina <[email protected]> AuthorDate: Fri Apr 22 17:23:30 2022 -0400 fix(sql lab): when editing a saved query, the status is lost when switching tabs (#19448) (cherry picked from commit 800ced5e257d5d83d6dbe4ced0e7318ac40d026f) --- superset-frontend/src/SqlLab/actions/sqlLab.js | 1 + 1 file changed, 1 insertion(+) diff --git a/superset-frontend/src/SqlLab/actions/sqlLab.js b/superset-frontend/src/SqlLab/actions/sqlLab.js index 3d1298e6c3..41717dd174 100644 --- a/superset-frontend/src/SqlLab/actions/sqlLab.js +++ b/superset-frontend/src/SqlLab/actions/sqlLab.js @@ -1279,6 +1279,7 @@ export function popSavedQuery(saveQueryId) { .then(({ json }) => { const queryEditorProps = { ...convertQueryToClient(json.result), + loaded: true, autorun: false, }; return dispatch(addQueryEditor(queryEditorProps));
