Merge pull request #4688 from MaximilianKrambach/multiFilter
fix number array filter options
This commit is contained in:
commit
643bab111c
@ -209,7 +209,12 @@ export abstract class BaseFilterListService<V extends BaseViewModel> {
|
||||
}
|
||||
if (matchingStoreFilter && matchingStoreFilter.options) {
|
||||
const storedOption = matchingStoreFilter.options.find(
|
||||
o => typeof o !== 'string' && o.condition === option.condition
|
||||
o =>
|
||||
typeof o !== 'string' &&
|
||||
(o.condition === option.condition ||
|
||||
(Array.isArray(o.condition) &&
|
||||
Array.isArray(option.condition) &&
|
||||
o.label === option.label))
|
||||
) as OsFilterOption;
|
||||
if (storedOption) {
|
||||
option.isActive = storedOption.isActive;
|
||||
|
Loading…
Reference in New Issue
Block a user