[Dashboard bug] should reset chartAlert when start new query (#3837)

This commit is contained in:
Grace Guo 2017-11-11 21:45:29 -08:00 committed by Maxime Beauchemin
parent f7bf17290c
commit 8459347bdc

View File

@ -41,6 +41,7 @@ export default function chartReducer(charts = {}, action) {
[actions.CHART_UPDATE_STARTED](state) {
return { ...state,
chartStatus: 'loading',
chartAlert: null,
chartUpdateEndTime: null,
chartUpdateStartTime: now(),
queryRequest: action.queryRequest,