fix(sql lab): when editing a saved query, the status is lost when switching tabs (#19448)

This commit is contained in:
Diego Medina 2022-04-22 17:23:30 -04:00 committed by GitHub
parent 3f0413b8cb
commit 800ced5e25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1279,6 +1279,7 @@ export function popSavedQuery(saveQueryId) {
.then(({ json }) => {
const queryEditorProps = {
...convertQueryToClient(json.result),
loaded: true,
autorun: false,
};
return dispatch(addQueryEditor(queryEditorProps));