RED-2985: 'Skipped' children filters
This commit is contained in:
parent
e7edcbbeb0
commit
5b046a2d84
@ -42,7 +42,7 @@ export class AnnotationProcessingService {
|
||||
const filters: INestedFilter[] = [];
|
||||
|
||||
annotations?.forEach(a => {
|
||||
const topLevelFilter = a.superType !== 'hint' && a.superType !== 'redaction' && a.superType !== 'recommendation';
|
||||
const topLevelFilter = !['hint', 'redaction', 'recommendation', 'skipped'].includes(a.superType);
|
||||
const key = topLevelFilter ? a.superType : a.superType + a.type;
|
||||
const filter = filterMap.get(key);
|
||||
if (filter) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user