updated ignore state for recommendations

This commit is contained in:
Timo 2021-01-11 15:53:22 +02:00
parent 82e9bf6979
commit 429cc4f1fa

View File

@ -181,8 +181,13 @@ export class AnnotationWrapper {
private static _setSuperType(annotationWrapper: AnnotationWrapper, redactionLogEntryWrapper: RedactionLogEntryWrapper) {
if (redactionLogEntryWrapper.recommendation) {
annotationWrapper.superType = 'recommendation';
return;
if (redactionLogEntryWrapper.redacted) {
annotationWrapper.superType = 'recommendation';
return;
} else {
annotationWrapper.superType = 'ignore';
return;
}
}
if (redactionLogEntryWrapper.status === 'DECLINED') {