From 5f6555354acb54c0c134a36d5ef1bd988bfc2d1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adina=20=C8=9Aeudan?= Date: Thu, 17 Feb 2022 21:13:24 +0200 Subject: [PATCH] Target type after recategorization request --- apps/red-ui/src/app/models/file/annotation.wrapper.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/red-ui/src/app/models/file/annotation.wrapper.ts b/apps/red-ui/src/app/models/file/annotation.wrapper.ts index e16705469..6e5963e1f 100644 --- a/apps/red-ui/src/app/models/file/annotation.wrapper.ts +++ b/apps/red-ui/src/app/models/file/annotation.wrapper.ts @@ -311,6 +311,10 @@ export class AnnotationWrapper { lastManualChange, annotationWrapper.hintDictionary, ); + + if (lastManualChange.annotationStatus === LogEntryStatus.REQUESTED) { + annotationWrapper.recategorizationType = lastManualChange.propertyChanges.type; + } } else { if (redactionLogEntryWrapper.recommendation) { annotationWrapper.superType = 'recommendation';