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: [heatmap] basic non empty validation (#3119)
Date Sun, 16 Jul 2017 03:08:02 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 7b015fa  [heatmap] basic non empty validation (#3119)
7b015fa is described below

commit 7b015faae9848bcbce7fa1ea85b43ba515d32e8a
Author: Maxime Beauchemin <maximebeauchemin@gmail.com>
AuthorDate: Sat Jul 15 20:07:57 2017 -0700

    [heatmap] basic non empty validation (#3119)
---
 superset/assets/javascripts/explore/stores/visTypes.js | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/superset/assets/javascripts/explore/stores/visTypes.js b/superset/assets/javascripts/explore/stores/visTypes.js
index 85aeff6..68991e3 100644
--- a/superset/assets/javascripts/explore/stores/visTypes.js
+++ b/superset/assets/javascripts/explore/stores/visTypes.js
@@ -798,6 +798,14 @@ const visTypes = {
         ],
       },
     ],
+    controlOverrides: {
+      all_columns_x: {
+        validators: [v.nonEmpty],
+      },
+      all_columns_y: {
+        validators: [v.nonEmpty],
+      },
+    },
   },
 
   horizon: {

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

Mime
View raw message