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

beto 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 43874b3  Fix time grain after revert (#7228)
43874b3 is described below

commit 43874b3750497ee9c2c16b3c8e7f298cf63c5564
Author: Beto Dealmeida <[email protected]>
AuthorDate: Wed Apr 3 21:16:23 2019 -0700

    Fix time grain after revert (#7228)
---
 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 c72348a..eb1f670 100644
--- a/superset/assets/src/explore/controls.jsx
+++ b/superset/assets/src/explore/controls.jsx
@@ -916,7 +916,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.timeGrainSqla : null,
+      choices: (state.datasource) ? state.datasource.time_grain_sqla : null,
     }),
   },
 

Reply via email to