From 800ced5e257d5d83d6dbe4ced0e7318ac40d026f Mon Sep 17 00:00:00 2001 From: Diego Medina Date: Fri, 22 Apr 2022 17:23:30 -0400 Subject: [PATCH] fix(sql lab): when editing a saved query, the status is lost when switching tabs (#19448) --- 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 3d1298e6c3b7..41717dd17488 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));