Skip to content

Commit edb626f

Browse files
author
NarrowsProjects
committed
feat: handle late filter insertion for multiCompositionFilter
1 parent fc9af46 commit edb626f

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

lib/public/components/Filters/RunsFilter/MultiCompositionFilterModel.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export class MultiCompositionFilterModel extends FilterModel {
2828
* @type {Object<string|number, FilterModel|SelectionModel>}
2929
*/
3030
this._filters = {};
31+
this._normalizeBacklog = {};
3132

3233
Object.entries(filters).forEach(([key, filter]) => this.putFilter(key, filter));
3334
}
@@ -89,4 +90,15 @@ export class MultiCompositionFilterModel extends FilterModel {
8990

9091
return normalized;
9192
}
93+
94+
/**
95+
* @inheritDoc
96+
*/
97+
set normalized(filters) {
98+
for (const [key, value] of Object.entries(filters)) {
99+
if (key in this._filters) {
100+
this._filters[key].normalized = value;
101+
}
102+
}
103+
}
92104
}

0 commit comments

Comments
 (0)