From 5d5f68976c2d71cbe1bea1de51fe82df9e9119cc Mon Sep 17 00:00:00 2001 From: Valentin Date: Thu, 4 Nov 2021 22:48:45 +0200 Subject: [PATCH] removed changes pushed by mistake --- apps/red-ui/src/app/state/app-state.service.ts | 4 +--- apps/red-ui/src/assets/config/config.json | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/apps/red-ui/src/app/state/app-state.service.ts b/apps/red-ui/src/app/state/app-state.service.ts index facb109d3..95323132d 100644 --- a/apps/red-ui/src/app/state/app-state.service.ts +++ b/apps/red-ui/src/app/state/app-state.service.ts @@ -279,9 +279,7 @@ export class AppStateService { } private _getDictionaryFor(dossier: IDossier) { - return this._dictionaryService.getFor(dossier.dossierTemplateId, 'dossier_redaction', dossier.dossierId) - .pipe(catchError(() => of({ type: '' }))) - .toPromise(); + return this._dictionaryService.getFor(dossier.dossierTemplateId, 'dossier_redaction', dossier.dossierId).toPromise(); } private _getDictionaryDataForDossierTemplate$(dossierTemplateId: string): Observable<{ [key: string]: any }> { diff --git a/apps/red-ui/src/assets/config/config.json b/apps/red-ui/src/assets/config/config.json index d1e68990c..4b4441fbb 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://red-staging.iqser.cloud/redaction-gateway-v1", + "API_URL": "https://dev-06.iqser.cloud/redaction-gateway-v1", "APP_NAME": "RedactManager", "AUTO_READ_TIME": 1.5, "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://red-staging.iqser.cloud/auth/realms/redaction", + "OAUTH_URL": "https://dev-06.iqser.cloud/auth/realms/redaction", "RECENT_PERIOD_IN_HOURS": 24, "SELECTION_MODE": "structural" }