You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2019/06/19 22:36:10 UTC

[incubator-superset] 03/08: fix: address issue #7458 (#7593)

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 <ma...@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,