superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From christ...@apache.org
Subject [incubator-superset] branch lyftga updated: fix: give a more accurate time (#7221)
Date Thu, 04 Apr 2019 19:58:14 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/lyftga by this push:
     new b4915ca  fix: give a more accurate time (#7221)
b4915ca is described below

commit b4915caa6e1751b80bf6ec9e9d80959d0aa86850
Author: Kim Truong <47833996+khtruong@users.noreply.github.com>
AuthorDate: Thu Apr 4 12:57:57 2019 -0700

    fix: give a more accurate time (#7221)
---
 superset/assets/src/chart/chartReducer.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/assets/src/chart/chartReducer.js b/superset/assets/src/chart/chartReducer.js
index f626be7..e7ad6c6 100644
--- a/superset/assets/src/chart/chartReducer.js
+++ b/superset/assets/src/chart/chartReducer.js
@@ -47,7 +47,6 @@ export default function chartReducer(charts = {}, action) {
       return { ...state,
         chartStatus: 'success',
         queryResponse: action.queryResponse,
-        chartUpdateEndTime: now(),
         chartAlert: null,
       };
     },
@@ -72,6 +71,7 @@ export default function chartReducer(charts = {}, action) {
     [actions.CHART_RENDERING_SUCCEEDED](state) {
       return { ...state,
         chartStatus: 'rendered',
+        chartUpdateEndTime: now(),
       };
     },
     [actions.CHART_RENDERING_FAILED](state) {


Mime
View raw message