RED-4446: Fix reject suggestion for "Remove from Dictionary" for hint

This commit is contained in:
Adina Țeudan 2022-06-29 18:27:00 +03:00
parent 59d4ad300a
commit ae796c082e

View File

@ -429,7 +429,7 @@ export class AnnotationWrapper implements IListable, Record<string, unknown> {
case LogEntryStatus.APPROVED:
return SuperTypes.Redaction;
case LogEntryStatus.DECLINED:
return SuperTypes.Skipped;
return isHintDictionary ? SuperTypes.Hint : SuperTypes.Skipped;
case LogEntryStatus.REQUESTED:
return SuperTypes.SuggestionRemoveDictionary;
}