mirror of
https://github.com/apache/superset.git
synced 2026-04-21 09:04:38 +00:00
feat(sqllab): save query parameters in database (#21682)
This commit is contained in:
@@ -56,8 +56,8 @@ export default function sqlLabReducer(state = {}, action) {
|
||||
return addToArr(newState, 'queryEditors', action.queryEditor);
|
||||
},
|
||||
[actions.QUERY_EDITOR_SAVED]() {
|
||||
const { query, result } = action;
|
||||
const existing = state.queryEditors.find(qe => qe.id === query.id);
|
||||
const { query, result, clientId } = action;
|
||||
const existing = state.queryEditors.find(qe => qe.id === clientId);
|
||||
return alterInArr(
|
||||
state,
|
||||
'queryEditors',
|
||||
|
||||
Reference in New Issue
Block a user