Skip to content

Commit

Permalink
minor bug fix on SET_ACTIVE_QUERY_EDITOR
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpark committed Sep 30, 2022
1 parent c7dd91a commit b8d18f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset-frontend/src/SqlLab/reducers/sqlLab.js
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ export default function sqlLabReducer(state = {}, action) {
);
return {
...(action.queryEditor.id === state.unsavedQueryEditor.id
? alterInObject(
? alterInArr(
mergeUnsavedState,
'queryEditors',
action.queryEditor,
Expand Down

0 comments on commit b8d18f2

Please sign in to comment.