RED-3834 - filter value mapping to undefined
This commit is contained in:
parent
11e6c292b1
commit
56f3b9571b
@ -215,7 +215,11 @@ export class ConfigService {
|
||||
filters = dynamicFilters.get(filterKey);
|
||||
}
|
||||
const filterValue = file.fileAttributes?.attributeIdToValue[config.id];
|
||||
filters.add(filterValue);
|
||||
if (filterValue === undefined || filterValue === null) {
|
||||
filters.add(undefined);
|
||||
} else {
|
||||
filters.add(filterValue);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user