youngyjd commented on a change in pull request #5767: Fix multilayer geoviz and 
color picker error
URL: 
https://github.com/apache/incubator-superset/pull/5767#discussion_r213527274
 
 

 ##########
 File path: superset/assets/src/visualizations/deckgl/multi.jsx
 ##########
 @@ -33,7 +33,13 @@ function deckMulti(slice, payload, setControlValue) {
     // Filters applied to multi_deck are passed down to underlying charts
     // note that dashboard contextual information (filter_immune_slices and 
such) aren't
     // taken into consideration here
-    let filters = subslice.form_data.filters.concat(fd.filters);
+    let filters = [];
+    if (subslice.form_data.filters) {
+      filters = filters.concat(subslice.form_data.filters);
+    }
+    if (fd.filters) {
+      filters = filters.concat(fd.filters);
+    }
     if (fd.extra_filters) {
       filters = filters.concat(fd.extra_filters);
     }
 
 Review comment:
   ah! thanks

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to