From fc6e5a3fce675892fa3b5887e9b9e4fca0fb8754 Mon Sep 17 00:00:00 2001 From: Timo Bejan Date: Wed, 10 Nov 2021 09:48:25 +0200 Subject: [PATCH] removed dead code --- apps/red-ui/src/app/models/file/annotation.wrapper.ts | 6 +----- .../type-annotation-icon/type-annotation-icon.component.ts | 2 -- 2 files changed, 1 insertion(+), 7 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 df45ab979..70f517d2e 100644 --- a/apps/red-ui/src/app/models/file/annotation.wrapper.ts +++ b/apps/red-ui/src/app/models/file/annotation.wrapper.ts @@ -79,7 +79,7 @@ export class AnnotationWrapper { } get isSuperTypeBasedColor() { - return this.isSkipped || this.isSuggestion || this.isReadyForAnalysis || this.isDeclinedSuggestion; + return this.isSkipped || this.isSuggestion || this.isDeclinedSuggestion; } get isSkipped() { @@ -117,10 +117,6 @@ export class AnnotationWrapper { return this.superType === 'declined-suggestion'; } - get isReadyForAnalysis() { - return false; - } - get isApproved() { return this.status === 'APPROVED'; } diff --git a/apps/red-ui/src/app/modules/dossier/components/type-annotation-icon/type-annotation-icon.component.ts b/apps/red-ui/src/app/modules/dossier/components/type-annotation-icon/type-annotation-icon.component.ts index d018c12b1..a3b717092 100644 --- a/apps/red-ui/src/app/modules/dossier/components/type-annotation-icon/type-annotation-icon.component.ts +++ b/apps/red-ui/src/app/modules/dossier/components/type-annotation-icon/type-annotation-icon.component.ts @@ -36,8 +36,6 @@ export class TypeAnnotationIconComponent implements OnChanges { ? 'S' : this.annotation.isSkipped ? 'S' - : this.annotation.isReadyForAnalysis - ? 'A' : this.annotation.type[0].toUpperCase(); } }