From 76e8ac2c1f8f99eb0c3a444b53d36cd30a79ad4c Mon Sep 17 00:00:00 2001 From: Madhuravas Date: Mon, 30 Oct 2023 12:14:08 +0530 Subject: [PATCH] MOSIP-27163 changed check box position Signed-off-by: Madhuravas --- resident-ui/src/app/core/services/httpinterceptor.ts | 3 +++ .../personalisedcard/personalisedcard.component.html | 2 +- .../personalisedcard/personalisedcard.component.ts | 1 + .../sharewithpartner/sharewithpartner.component.html | 8 ++++---- .../sharewithpartner/sharewithpartner.component.ts | 2 ++ resident-ui/src/app/shared/dialog/dialog.component.css | 3 ++- 6 files changed, 13 insertions(+), 6 deletions(-) diff --git a/resident-ui/src/app/core/services/httpinterceptor.ts b/resident-ui/src/app/core/services/httpinterceptor.ts index 75cc310e..7147d344 100644 --- a/resident-ui/src/app/core/services/httpinterceptor.ts +++ b/resident-ui/src/app/core/services/httpinterceptor.ts @@ -96,6 +96,9 @@ export class AuthInterceptor implements HttpInterceptor { if (err instanceof HttpErrorResponse) { if (err.status === 401 && err.statusText === "Unauthorized") { this.router.navigate(['dashboard']); + if (window.location.href.includes('uinservices')) { + window.location.reload(); + } }else if (err.status === 403 && err.statusText === "Forbidden") { this.showMessage() } else if (err.status === 413) { diff --git a/resident-ui/src/app/feature/uinservices/personalisedcard/personalisedcard.component.html b/resident-ui/src/app/feature/uinservices/personalisedcard/personalisedcard.component.html index 610ebff7..aebfc102 100644 --- a/resident-ui/src/app/feature/uinservices/personalisedcard/personalisedcard.component.html +++ b/resident-ui/src/app/feature/uinservices/personalisedcard/personalisedcard.component.html @@ -10,7 +10,7 @@

{{'personalisedcard.title' | translate}}

{{'personalisedcard.introDescription' | translate}}

{{'personalisedcard.mainlabel' | translate}}

- +
diff --git a/resident-ui/src/app/feature/uinservices/personalisedcard/personalisedcard.component.ts b/resident-ui/src/app/feature/uinservices/personalisedcard/personalisedcard.component.ts index 8a489f24..b05886d7 100644 --- a/resident-ui/src/app/feature/uinservices/personalisedcard/personalisedcard.component.ts +++ b/resident-ui/src/app/feature/uinservices/personalisedcard/personalisedcard.component.ts @@ -47,6 +47,7 @@ export class PersonalisedcardComponent implements OnInit, OnDestroy { formatCheckBoxClicked: boolean = false; isLoading: boolean = true; selectedOprionsFormOptions: object = {}; + sitealignment:string = localStorage.getItem('direction'); constructor(private autoLogout: AutoLogoutService, private interactionService: InteractionService, private dialog: MatDialog, private appConfigService: AppConfigService, private dataStorageService: DataStorageService, private translateService: TranslateService, private router: Router, diff --git a/resident-ui/src/app/feature/uinservices/sharewithpartner/sharewithpartner.component.html b/resident-ui/src/app/feature/uinservices/sharewithpartner/sharewithpartner.component.html index 06af23a7..ce002d91 100644 --- a/resident-ui/src/app/feature/uinservices/sharewithpartner/sharewithpartner.component.html +++ b/resident-ui/src/app/feature/uinservices/sharewithpartner/sharewithpartner.component.html @@ -13,7 +13,7 @@

{{'sharewithpartner.title' | translate}}

{{'sharewithpartner.introDescription' | translate}}

- +
@@ -94,9 +94,9 @@

{{'sharewithpartner.title' | translate}}

- - + {{partnerDetail.organizationName}} diff --git a/resident-ui/src/app/feature/uinservices/sharewithpartner/sharewithpartner.component.ts b/resident-ui/src/app/feature/uinservices/sharewithpartner/sharewithpartner.component.ts index 32d6bc29..f12af9e8 100644 --- a/resident-ui/src/app/feature/uinservices/sharewithpartner/sharewithpartner.component.ts +++ b/resident-ui/src/app/feature/uinservices/sharewithpartner/sharewithpartner.component.ts @@ -59,6 +59,7 @@ export class SharewithpartnerComponent implements OnInit, OnDestroy { formatLabels: any; isLoading: boolean = true; selectedOprionsFormOptions: object = {}; + sitealignment:string = localStorage.getItem('direction'); private keyboardRef: MatKeyboardRef; @ViewChildren('keyboardRef', { read: ElementRef }) @@ -438,6 +439,7 @@ export class SharewithpartnerComponent implements OnInit, OnDestroy { } captureDropDownValue(event: any) { + console.log(event.source.value) if (event.source.selected) { this.partnerId = event.source.value; } diff --git a/resident-ui/src/app/shared/dialog/dialog.component.css b/resident-ui/src/app/shared/dialog/dialog.component.css index 0d0f1b8c..b6ad5fb5 100644 --- a/resident-ui/src/app/shared/dialog/dialog.component.css +++ b/resident-ui/src/app/shared/dialog/dialog.component.css @@ -288,7 +288,7 @@ p{ .agree-test-card{ display: flex; - align-items: center; + align-items: flex-start; } .agree-card { @@ -330,6 +330,7 @@ p{ height: 20px !important; width: 20px !important; cursor: pointer; + margin-top: 0; } .otp-time-heading {