fixed filter componet refresh
This commit is contained in:
parent
8ed51e30de
commit
2ca8abe46d
@ -30,6 +30,9 @@ export class FilterComponent implements OnChanges {
|
||||
if (changes.filters) {
|
||||
const oldFilters = changes.filters.previousValue;
|
||||
this._copySettings(oldFilters, this.filters);
|
||||
this.filters.forEach((filter) => {
|
||||
handleCheckedValue(filter);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@ -41,7 +44,6 @@ export class FilterComponent implements OnChanges {
|
||||
newFilter.checked = oldFilter.checked;
|
||||
newFilter.indeterminate = oldFilter.indeterminate;
|
||||
this._copySettings(oldFilter.filters, newFilter.filters);
|
||||
handleCheckedValue(newFilter);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user