mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
Fix Chart Error Message Display (#3287)
This commit is contained in:
committed by
Maxime Beauchemin
parent
9a4e4d0443
commit
025ef5a0f1
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user