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: fix: address issue #7458 (#7593)
Date Sat, 01 Jun 2019 20:33:24 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 1dc17f3  fix: address issue #7458 (#7593)
1dc17f3 is described below

commit 1dc17f357cf5c94f663f7a338a7814d5f79452e9
Author: Maxime Beauchemin <maximebeauchemin@gmail.com>
AuthorDate: Sat Jun 1 13:33:06 2019 -0700

    fix: address issue #7458 (#7593)
---
 superset/assets/src/visualizations/FilterBox/transformProps.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/assets/src/visualizations/FilterBox/transformProps.js b/superset/assets/src/visualizations/FilterBox/transformProps.js
index 3b91719..54e1b1a 100644
--- a/superset/assets/src/visualizations/FilterBox/transformProps.js
+++ b/superset/assets/src/visualizations/FilterBox/transformProps.js
@@ -27,7 +27,6 @@ export default function transformProps(chartProps) {
   } = chartProps;
   const {
     dateFilter,
-    filterConfigs,
     instantFiltering,
     showDruidTimeGranularity,
     showDruidTimeOrigin,
@@ -35,6 +34,7 @@ export default function transformProps(chartProps) {
     showSqlaTimeGranularity,
   } = formData;
   const { verboseMap } = datasource;
+  const filterConfigs = formData.filterConfigs || [];
 
   const filtersFields = filterConfigs.map(flt => ({
     ...flt,


Mime
View raw message