From f01056853a64acf255b34f36138f26e4e3926bb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adina=20=C8=9Aeudan?= Date: Thu, 24 Mar 2022 18:58:22 +0200 Subject: [PATCH] Recommendations super type --- apps/red-ui/src/app/models/file/annotation.wrapper.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/apps/red-ui/src/app/models/file/annotation.wrapper.ts b/apps/red-ui/src/app/models/file/annotation.wrapper.ts index 9d5a99980..742bb6e96 100644 --- a/apps/red-ui/src/app/models/file/annotation.wrapper.ts +++ b/apps/red-ui/src/app/models/file/annotation.wrapper.ts @@ -299,11 +299,6 @@ export class AnnotationWrapper implements Record { } private static _setSuperType(annotationWrapper: AnnotationWrapper, redactionLogEntryWrapper: RedactionLogEntry) { - if (redactionLogEntryWrapper.recommendation && !redactionLogEntryWrapper.redacted) { - annotationWrapper.superType = SuperTypes.Recommendation; - return; - } - if (redactionLogEntryWrapper.manualChanges?.length) { const lastManualChange = redactionLogEntryWrapper.manualChanges[redactionLogEntryWrapper.manualChanges.length - 1];