superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From michel...@apache.org
Subject [incubator-superset] 03/08: fix: address issue #7458 (#7593)
Date Wed, 19 Jun 2019 22:36:10 GMT
This is an automated email from the ASF dual-hosted git repository.

michellet pushed a commit to branch release--0.33
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

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

    fix: address issue #7458 (#7593)
    
    
    (cherry picked from commit 1dc17f357cf5c94f663f7a338a7814d5f79452e9)
---
 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