From f00f772d390f5a442bab6ca856e4d29fc5cdf73f Mon Sep 17 00:00:00 2001 From: Valentin Mihai Date: Mon, 3 Apr 2023 16:32:16 +0300 Subject: [PATCH] RED-6240 - removed hardcoded color --- .../app/modules/pdf-viewer/services/annotation-draw.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/red-ui/src/app/modules/pdf-viewer/services/annotation-draw.service.ts b/apps/red-ui/src/app/modules/pdf-viewer/services/annotation-draw.service.ts index 5dd4d3d76..724a22a27 100644 --- a/apps/red-ui/src/app/modules/pdf-viewer/services/annotation-draw.service.ts +++ b/apps/red-ui/src/app/modules/pdf-viewer/services/annotation-draw.service.ts @@ -166,7 +166,7 @@ export class AnnotationDrawService { annotationWrapper.isSuggestion && this._userPreferenceService.getDisplaySuggestionsInPreview() ? this._defaultColorsService.getColor(dossierTemplateId, 'requestAddColor') : this._defaultColorsService.getColor(dossierTemplateId, 'previewColor'); - annotation.setCustomData('redactionColor', '#0000BB'); + annotation.setCustomData('redactionColor', String(redactionColor)); annotation.setCustomData('annotationColor', String(annotationWrapper.color)); return annotation;