mirror of
https://github.com/apache/superset.git
synced 2026-04-23 10:04:45 +00:00
Fix Chart Error Message Display (#3287)
This commit is contained in:
committed by
Maxime Beauchemin
parent
9a4e4d0443
commit
025ef5a0f1
@@ -63,6 +63,12 @@ export default function chartReducer(state = {}, action) {
|
||||
}
|
||||
return newState;
|
||||
},
|
||||
[actions.REMOVE_CHART_ALERT]() {
|
||||
if (state.chartAlert !== null) {
|
||||
return Object.assign({}, state, { chartAlert: null });
|
||||
}
|
||||
return state;
|
||||
},
|
||||
};
|
||||
|
||||
if (action.type in actionHandlers) {
|
||||
|
||||
Reference in New Issue
Block a user