mirror of
https://github.com/apache/superset.git
synced 2026-04-25 02:55:07 +00:00
[Explore view] Use POST method for charting requests (#3993)
* [Explore view] Use POST method for charting requests * fix per code review comments * more code review fixes * code review fix: remove duplicated calls for getting values from request * [Explore view] Use POST method for charting requests * fix per code review comments * more code review fixes * code review fix: remove duplicated calls for getting values from request
This commit is contained in:
@@ -56,6 +56,10 @@ export default function exploreReducer(state = {}, action) {
|
||||
}
|
||||
return Object.assign({}, state, changes);
|
||||
},
|
||||
[actions.SET_EXPLORE_CONTROLS]() {
|
||||
const controls = getControlsState(state, action.formData);
|
||||
return Object.assign({}, state, { controls });
|
||||
},
|
||||
[actions.UPDATE_CHART_TITLE]() {
|
||||
const updatedSlice = Object.assign({}, state.slice, { slice_name: action.slice_name });
|
||||
return Object.assign({}, state, { slice: updatedSlice });
|
||||
|
||||
Reference in New Issue
Block a user