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 time filter control (#6978)
Date Wed, 13 Mar 2019 20:28:50 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 b3966e4  Fix time filter control (#6978)
b3966e4 is described below

commit b3966e4d7dc582db069143bad5ef28e2267165fe
Author: Beto Dealmeida <roberto@dealmeida.net>
AuthorDate: Wed Mar 13 22:28:44 2019 +0200

    Fix time filter control (#6978)
---
 superset/assets/src/explore/controls.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/assets/src/explore/controls.jsx b/superset/assets/src/explore/controls.jsx
index b558956..cb5909a 100644
--- a/superset/assets/src/explore/controls.jsx
+++ b/superset/assets/src/explore/controls.jsx
@@ -914,7 +914,7 @@ export const controls = {
     'The options here are defined on a per database ' +
     'engine basis in the Superset source code.'),
     mapStateToProps: state => ({
-      choices: (state.datasource) ? state.datasource.time_grain_sqla : null,
+      choices: (state.datasource) ? state.datasource.timeGrainSqla : null,
     }),
   },
 


Mime
View raw message