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: Set control 'percent_metrics's default to [] (#5357)
Date Thu, 12 Jul 2018 14:32:05 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 0ca426a  Set control 'percent_metrics's default to [] (#5357)
0ca426a is described below

commit 0ca426a6fa1b573d28ca67dc74e911bacfa05fbe
Author: Maxime Beauchemin <maximebeauchemin@gmail.com>
AuthorDate: Thu Jul 12 10:32:00 2018 -0400

    Set control 'percent_metrics's default to [] (#5357)
---
 superset/assets/src/explore/controls.jsx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/superset/assets/src/explore/controls.jsx b/superset/assets/src/explore/controls.jsx
index 353b24e..922b45c 100644
--- a/superset/assets/src/explore/controls.jsx
+++ b/superset/assets/src/explore/controls.jsx
@@ -207,6 +207,7 @@ export const controls = {
     ...metrics,
     multi: true,
     label: t('Percentage Metrics'),
+    default: [],
     validators: [],
     description: t('Metrics for which percentage of total are to be displayed'),
   },


Mime
View raw message