From 2cddac8b82cabd756957e1ab765720d95e307fb6 Mon Sep 17 00:00:00 2001 From: 5Amogh Date: Mon, 29 Dec 2025 11:34:07 +0530 Subject: [PATCH] fix: amm-1972, amm-1990 --- Common-UI | 2 +- .../doctor-worklist/doctor-worklist.component.ts | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Common-UI b/Common-UI index 09f4202..f453693 160000 --- a/Common-UI +++ b/Common-UI @@ -1 +1 @@ -Subproject commit 09f42028ac5f9fc8ec307ade87da13fe4ef53818 +Subproject commit f45369358ebf0c9c57deee0a39482022a1007849 diff --git a/src/app/app-modules/nurse-doctor/doctor-worklist/doctor-worklist.component.ts b/src/app/app-modules/nurse-doctor/doctor-worklist/doctor-worklist.component.ts index d9df39d..73bb8c9 100644 --- a/src/app/app-modules/nurse-doctor/doctor-worklist/doctor-worklist.component.ts +++ b/src/app/app-modules/nurse-doctor/doctor-worklist/doctor-worklist.component.ts @@ -117,7 +117,13 @@ export class DoctorWorklistComponent implements OnInit, DoCheck, OnDestroy { } redirectToCHOReport() { - window.location.href = `${environment.dhisURL}${JSON.parse(this.sessionstorage.getItem('loginDataResponse'))?.dhistoken}`; + const token = JSON.parse( + this.sessionstorage.getItem('loginDataResponse'), + )?.dhistoken; + + const url = `${environment.dhisURL}${token}`; + + window.open(url, '_blank', 'noopener,noreferrer'); } setDisplayedColumns() {