mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
fix filters on dashboard (#2619)
This commit is contained in:
committed by
Maxime Beauchemin
parent
baff0cba38
commit
15654a3082
@@ -190,12 +190,10 @@ export function dashboardContainer(dashboard, datasources) {
|
||||
if (!(sliceId in this.filters)) {
|
||||
this.filters[sliceId] = {};
|
||||
}
|
||||
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 (!(col in this.filters[sliceId]) || !merge) {
|
||||
this.filters[sliceId][col] = vals;
|
||||
} else {
|
||||
this.filters[sliceId][col] = d3.merge([this.filters[sliceId][col], vals]);
|
||||
}
|
||||
if (refresh) {
|
||||
this.refreshExcept(sliceId);
|
||||
|
||||
Reference in New Issue
Block a user