mirror of
https://github.com/apache/superset.git
synced 2026-04-25 02:55:07 +00:00
[hotfix] dashboard doesn't have filter_immune_slices pre-save
This commit is contained in:
@@ -86,7 +86,8 @@ function dashboardContainer(dashboardData) {
|
||||
// Summarized filter, not defined by sliceId
|
||||
// returns k=field, v=array of values
|
||||
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
|
||||
return f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user