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 ddb59bc96..8ef07c319 100644 --- a/apps/red-ui/src/app/models/file/annotation.wrapper.ts +++ b/apps/red-ui/src/app/models/file/annotation.wrapper.ts @@ -160,6 +160,10 @@ export class AnnotationWrapper { return this.superType === SuperTypes.SuggestionRemove || this.superType === SuperTypes.SuggestionRemoveDictionary; } + get isSuggestionLegalBasisChange() { + return this.superType === SuperTypes.SuggestionChangeLegalBasis; + } + get isModifyDictionary() { return this.dictionaryOperation; } @@ -208,7 +212,13 @@ export class AnnotationWrapper { } get previewAnnotation() { - return this.isRedacted || this.isSuggestionAdd; + return ( + this.isRedacted || + this.isSuggestionAdd || + this.isSuggestionResize || + this.isSuggestionLegalBasisChange || + this.isSuggestionRecategorizeImage + ); } static fromHighlight(color: string, entry: ImportedRedaction) { diff --git a/apps/red-ui/src/app/modules/file-preview/components/annotation-details/annotation-details.component.ts b/apps/red-ui/src/app/modules/file-preview/components/annotation-details/annotation-details.component.ts index a7d663b28..7d01f50dc 100644 --- a/apps/red-ui/src/app/modules/file-preview/components/annotation-details/annotation-details.component.ts +++ b/apps/red-ui/src/app/modules/file-preview/components/annotation-details/annotation-details.component.ts @@ -77,7 +77,7 @@ export class AnnotationDetailsComponent implements OnChanges { }, { icon: 'red:rule', - description: this._translateService.instant('annotation-engines.rule', { rule: this.annotation.legalBasisValue }), + description: this._translateService.instant('annotation-engines.rule', { rule: this.annotation.legalBasisValue || '' }), show: this._isBasedOn(Engines.RULE), }, ]; diff --git a/apps/red-ui/src/assets/config/config.json b/apps/red-ui/src/assets/config/config.json index 9ee85116b..05604dd48 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://dev-05.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", @@ -17,7 +17,7 @@ "MAX_RETRIES_ON_SERVER_ERROR": 3, "OAUTH_CLIENT_ID": "redaction", "OAUTH_IDP_HINT": null, - "OAUTH_URL": "https://dev-05.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"