mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
[hotfix] dashboard doesn't have filter_immune_slices pre-save
This commit is contained in:
parent
153667505f
commit
b67906cfe1
@ -86,7 +86,8 @@ function dashboardContainer(dashboardData) {
|
|||||||
// Summarized filter, not defined by sliceId
|
// Summarized filter, not defined by sliceId
|
||||||
// returns k=field, v=array of values
|
// returns k=field, v=array of values
|
||||||
const f = {};
|
const f = {};
|
||||||
if (sliceId && this.metadata.filter_immune_slices.includes(sliceId)) {
|
const immuneSlices = this.metadata.filter_immune_slices || [];
|
||||||
|
if (sliceId && immuneSlices.includes(sliceId)) {
|
||||||
// The slice is immune to dashboard fiterls
|
// The slice is immune to dashboard fiterls
|
||||||
return f;
|
return f;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user