Fix Chart Error Message Display (#3287)

This commit is contained in:
Grace Guo
2017-08-14 12:24:35 -07:00
committed by Maxime Beauchemin
parent 9a4e4d0443
commit 025ef5a0f1
7 changed files with 17 additions and 16 deletions

View File

@@ -65,12 +65,6 @@ export default function exploreReducer(state = {}, action) {
const updatedSlice = Object.assign({}, state.slice, { slice_name: action.slice_name });
return Object.assign({}, state, { slice: updatedSlice });
},
[actions.REMOVE_CHART_ALERT]() {
if (state.chartAlert !== null) {
return Object.assign({}, state, { chartAlert: null });
}
return state;
},
[actions.RESET_FIELDS]() {
const controls = getControlsState(state, getFormDataFromControls(state.controls));
return Object.assign({}, state, { controls });