diff --git a/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/services/annotation-draw.service.ts b/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/services/annotation-draw.service.ts index 9fb5591fa..989351705 100644 --- a/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/services/annotation-draw.service.ts +++ b/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/services/annotation-draw.service.ts @@ -233,7 +233,7 @@ export class AnnotationDrawService { annotation.setCustomData('changeLog', String(annotationWrapper.isChangeLogEntry)); annotation.setCustomData('changeLogRemoved', String(annotationWrapper.isChangeLogRemoved)); annotation.setCustomData('opacity', String(annotation.Opacity)); - annotation.setCustomData('redactionColor', String(this.getColor(activeViewer, dossierTemplateId, 'redaction', 'redaction'))); + annotation.setCustomData('redactionColor', String(this.getColor(activeViewer, dossierTemplateId, 'redaction', 'preview'))); annotation.setCustomData( 'annotationColor', String(this.getColor(activeViewer, dossierTemplateId, annotationWrapper.superType, annotationWrapper.type)), diff --git a/apps/red-ui/src/app/modules/shared/services/dictionary.service.ts b/apps/red-ui/src/app/modules/shared/services/dictionary.service.ts index 70b401f86..1ec02ea3b 100644 --- a/apps/red-ui/src/app/modules/shared/services/dictionary.service.ts +++ b/apps/red-ui/src/app/modules/shared/services/dictionary.service.ts @@ -257,6 +257,7 @@ export class DictionaryService extends EntitiesService { hexColor: colors.analysisColor || FALLBACK_COLOR, type: 'analysis' }, { hexColor: '#fa98f7', type: 'hint', hint: true }, { hexColor: colors.manualRedactionColor || FALLBACK_COLOR, type: 'redaction' }, + { hexColor: colors.previewColor || FALLBACK_COLOR, type: 'preview' }, { hexColor: colors.updatedColor || FALLBACK_COLOR, type: 'updated' }, ];