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 9170e6f4a..051ee4025 100644 --- a/apps/red-ui/src/app/models/file/annotation.wrapper.ts +++ b/apps/red-ui/src/app/models/file/annotation.wrapper.ts @@ -140,6 +140,10 @@ export class AnnotationWrapper implements IListable, Record { return this.type?.toLowerCase() === 'false_positive' && !!FalsePositiveSuperTypes[this.superType]; } + get isSuggestionAddToFalsePositive() { + return this.typeLabel === annotationTypesTranslations[SuggestionAddFalsePositive]; + } + get isDeclinedSuggestion() { return this.superType === SuperTypes.DeclinedSuggestion; }