From 4c87c3dea0aa4431900ca38da344eeecaec93041 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 3d1298e6c3b73..41717dd17488b 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));