diff --git a/superset/assets/javascripts/dashboard/Dashboard.jsx b/superset/assets/javascripts/dashboard/Dashboard.jsx index dc02a7ef14f44..986ef175a04e1 100644 --- a/superset/assets/javascripts/dashboard/Dashboard.jsx +++ b/superset/assets/javascripts/dashboard/Dashboard.jsx @@ -193,10 +193,12 @@ export function dashboardContainer(dashboard) { if (!(sliceId in this.filters)) { this.filters[sliceId] = {}; } - if (!(col in this.filters[sliceId]) || !merge) { - this.filters[sliceId][col] = vals; - } else { - this.filters[sliceId][col] = d3.merge([this.filters[sliceId][col], vals]); + if (!(col in this.filters[sliceId])) { + if (!merge) { + this.filters[sliceId][col] = vals; + } else { + this.filters[sliceId][col] = d3.merge([this.filters[sliceId][col], vals]); + } } if (refresh) { this.refreshExcept(sliceId);