You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ch...@apache.org on 2019/03/13 20:28:50 UTC

[incubator-superset] branch lyftga updated: Fix time filter control (#6978)

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 <ro...@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,
     }),
   },