Pull request #352: RED-3400: Supertype after recategorization
Merge in RED/ui from RED-3400 to master * commit '75565d4e6f7a8dd4f39198a7610ab0db20dd78b1': Supertype after recategorization
This commit is contained in:
commit
2a50e7b2b3
@ -426,8 +426,17 @@ export class AnnotationWrapper {
|
|||||||
case ManualRedactionType.RECATEGORIZE:
|
case ManualRedactionType.RECATEGORIZE:
|
||||||
switch (lastManualChange.annotationStatus) {
|
switch (lastManualChange.annotationStatus) {
|
||||||
case LogEntryStatus.APPROVED:
|
case LogEntryStatus.APPROVED:
|
||||||
case LogEntryStatus.DECLINED:
|
case LogEntryStatus.DECLINED: {
|
||||||
return redactionLogEntry.redacted ? 'redaction' : 'hint';
|
if (redactionLogEntry.recommendation) {
|
||||||
|
return 'recommendation';
|
||||||
|
} else if (redactionLogEntry.redacted) {
|
||||||
|
return 'redaction';
|
||||||
|
} else if (redactionLogEntry.hint) {
|
||||||
|
return 'hint';
|
||||||
|
} else {
|
||||||
|
return 'skipped';
|
||||||
|
}
|
||||||
|
}
|
||||||
case LogEntryStatus.REQUESTED:
|
case LogEntryStatus.REQUESTED:
|
||||||
return 'suggestion-recategorize-image';
|
return 'suggestion-recategorize-image';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user