mirror of
https://github.com/apache/superset.git
synced 2024-09-17 11:09:47 -04:00
Fix for merge string as array (#2597)
This commit is contained in:
parent
31283f1424
commit
c93411b1e7
@ -189,10 +189,12 @@ export function dashboardContainer(dashboard, datasources) {
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user