RED-5912 - Suggestions make redactions disappear in PREVIEW mode
This commit is contained in:
parent
7183995832
commit
8fa23c33d9
@ -140,6 +140,10 @@ export class AnnotationWrapper implements IListable, Record<string, unknown> {
|
||||
return this.type?.toLowerCase() === 'false_positive' && !!FalsePositiveSuperTypes[this.superType];
|
||||
}
|
||||
|
||||
get isSuggestionAddToFalsePositive() {
|
||||
return this.typeLabel === annotationTypesTranslations[SuggestionAddFalsePositive];
|
||||
}
|
||||
|
||||
get isDeclinedSuggestion() {
|
||||
return this.superType === SuperTypes.DeclinedSuggestion;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user