superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: Datasource cannot be empty (#3035)
Date Wed, 26 Jul 2017 04:05:33 GMT
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 b301ba1  Datasource cannot be empty (#3035)
b301ba1 is described below

commit b301ba1f57b884248def367126a9a76e256c46b8
Author: Rogan <quangenw@gmail.com>
AuthorDate: Wed Jul 26 12:05:31 2017 +0800

    Datasource cannot be empty (#3035)
---
 superset/assets/javascripts/explore/stores/controls.jsx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/superset/assets/javascripts/explore/stores/controls.jsx b/superset/assets/javascripts/explore/stores/controls.jsx
index ecfbfe9..1fdf868 100644
--- a/superset/assets/javascripts/explore/stores/controls.jsx
+++ b/superset/assets/javascripts/explore/stores/controls.jsx
@@ -35,6 +35,7 @@ export const controls = {
     isLoading: true,
     clearable: false,
     default: null,
+    validators: [v.nonEmpty],
     mapStateToProps: (state) => {
       const datasources = state.datasources || [];
       return {

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

Mime
View raw message