From 73850dbf7e0687c92ee91c4c151bc4001c48f301 Mon Sep 17 00:00:00 2001 From: Dan Percic Date: Sat, 17 Sep 2022 13:59:21 +0300 Subject: [PATCH] RED-5195: hide annotations in earmarks view --- .../modules/file-preview/file-preview-screen.component.ts | 5 ++++- apps/red-ui/src/assets/config/config.json | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/red-ui/src/app/modules/file-preview/file-preview-screen.component.ts b/apps/red-ui/src/app/modules/file-preview/file-preview-screen.component.ts index 869cb2a6d..1b86f0235 100644 --- a/apps/red-ui/src/app/modules/file-preview/file-preview-screen.component.ts +++ b/apps/red-ui/src/app/modules/file-preview/file-preview-screen.component.ts @@ -65,8 +65,8 @@ import { SkippedService } from './services/skipped.service'; import { REDDocumentViewer } from '../pdf-viewer/services/document-viewer.service'; import { AnnotationsListingService } from './services/annotations-listing.service'; import { PdfProxyService } from './services/pdf-proxy.service'; -import Annotation = Core.Annotations.Annotation; import { ConfigService } from '@services/config.service'; +import Annotation = Core.Annotations.Annotation; const textActions = [TextPopups.ADD_DICTIONARY, TextPopups.ADD_FALSE_POSITIVE]; @@ -236,6 +236,9 @@ export class FilePreviewScreenComponent this._annotationManager.hide(nonRedactionEntries); break; } + case ViewModes.TEXT_HIGHLIGHTS: { + this._annotationManager.hide(annotations); + } } await this._stampService.stampPDF(); diff --git a/apps/red-ui/src/assets/config/config.json b/apps/red-ui/src/assets/config/config.json index 690ca0480..64bdac137 100644 --- a/apps/red-ui/src/assets/config/config.json +++ b/apps/red-ui/src/assets/config/config.json @@ -1,7 +1,7 @@ { "ADMIN_CONTACT_NAME": null, "ADMIN_CONTACT_URL": null, - "API_URL": "https://qa1.iqser.cloud/redaction-gateway-v1", + "API_URL": "https://dev-08.iqser.cloud/redaction-gateway-v1", "APP_NAME": "RedactManager", "AUTO_READ_TIME": 3, "BACKEND_APP_VERSION": "4.4.40", @@ -11,7 +11,7 @@ "MAX_RETRIES_ON_SERVER_ERROR": 3, "OAUTH_CLIENT_ID": "redaction", "OAUTH_IDP_HINT": null, - "OAUTH_URL": "https://qa1.iqser.cloud/auth/realms/redaction", + "OAUTH_URL": "https://dev-08.iqser.cloud/auth/realms/redaction", "RECENT_PERIOD_IN_HOURS": 24, "SELECTION_MODE": "structural", "MANUAL_BASE_URL": "https://docs.redactmanager.com/preview",