From b863acd99763c7a378def84cffdd7830d425d971 Mon Sep 17 00:00:00 2001 From: Dan Percic Date: Mon, 26 Apr 2021 16:24:55 +0300 Subject: [PATCH] fix comments --- apps/red-ui/src/app/models/file/annotation.wrapper.ts | 1 + 1 file changed, 1 insertion(+) 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 a5cea00d6..63f89aeb6 100644 --- a/apps/red-ui/src/app/models/file/annotation.wrapper.ts +++ b/apps/red-ui/src/app/models/file/annotation.wrapper.ts @@ -193,6 +193,7 @@ export class AnnotationWrapper { annotationWrapper.dictionaryOperation = redactionLogEntry.dictionaryEntry; annotationWrapper.userId = redactionLogEntry.userId; annotationWrapper.image = redactionLogEntry.image; + annotationWrapper.comments = redactionLogEntry.comments || []; AnnotationWrapper._createContent(annotationWrapper, redactionLogEntry); AnnotationWrapper._setSuperType(annotationWrapper, redactionLogEntry); AnnotationWrapper._handleSkippedState(annotationWrapper, redactionLogEntry);