false positive is not available for images

This commit is contained in:
Timo 2021-04-27 12:47:05 +03:00
parent 1ab7ce0a37
commit 8d33ac6e5a

View File

@ -79,11 +79,11 @@ export class AnnotationWrapper {
}
get canBeMarkedAsFalsePositive() {
return this.superType === 'redaction' && (this.hasTextAfter || this.hasTextBefore);
return this.superType === 'redaction' && (this.hasTextAfter || this.hasTextBefore) && !this.isImage;
}
get canBeMarkedAsFalsePositiveWithTextOnly() {
return !this.canBeMarkedAsFalsePositive && (this.isRecommendation || this.superType === 'redaction');
return !this.canBeMarkedAsFalsePositive && (this.isRecommendation || this.superType === 'redaction') && !this.isImage;
}
get isSuperTypeBasedColor() {