diff --git a/apps/red-ui/src/app/modules/dossier/services/annotation-processing.service.ts b/apps/red-ui/src/app/modules/dossier/services/annotation-processing.service.ts index a38db9a5e..4c4ac1f28 100644 --- a/apps/red-ui/src/app/modules/dossier/services/annotation-processing.service.ts +++ b/apps/red-ui/src/app/modules/dossier/services/annotation-processing.service.ts @@ -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) {