Skip to content

Commit

Permalink
[Dashboard bug] should reset chartAlert when start new query (#3837)
Browse files Browse the repository at this point in the history
  • Loading branch information
Grace Guo authored and mistercrunch committed Nov 12, 2017
1 parent f7bf172 commit 8459347
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions superset/assets/javascripts/chart/chartReducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8459347

Please sign in to comment.