You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2017/11/12 05:45:30 UTC

[incubator-superset] branch master updated: [Dashboard bug] should reset chartAlert when start new query (#3837)

This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 8459347  [Dashboard bug] should reset chartAlert when start new query (#3837)
8459347 is described below

commit 8459347bdc90e6f2459a08c87f00a6659f12cd48
Author: Grace Guo <gr...@airbnb.com>
AuthorDate: Sat Nov 11 21:45:29 2017 -0800

    [Dashboard bug] should reset chartAlert when start new query (#3837)
---
 superset/assets/javascripts/chart/chartReducer.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/superset/assets/javascripts/chart/chartReducer.js b/superset/assets/javascripts/chart/chartReducer.js
index 7d5b23c..c67d662 100644
--- a/superset/assets/javascripts/chart/chartReducer.js
+++ b/superset/assets/javascripts/chart/chartReducer.js
@@ -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,

-- 
To stop receiving notification emails like this one, please contact
['"commits@superset.apache.org" <co...@superset.apache.org>'].