From 089eec68382a1c0fea3834585ba6b7497625f073 Mon Sep 17 00:00:00 2001 From: Madhuravas Date: Fri, 10 Nov 2023 10:05:04 +0530 Subject: [PATCH] fixed file name alignment issue and reg centers map issue Signed-off-by: Madhuravas --- .../center-selection/center-selection.component.ts | 11 +++++++++-- .../updatedemographic/updatedemographic.component.css | 2 ++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/resident-ui/src/app/feature/booking/center-selection/center-selection.component.ts b/resident-ui/src/app/feature/booking/center-selection/center-selection.component.ts index e828ebf4..6a4e1a2b 100644 --- a/resident-ui/src/app/feature/booking/center-selection/center-selection.component.ts +++ b/resident-ui/src/app/feature/booking/center-selection/center-selection.component.ts @@ -96,9 +96,12 @@ export class CenterSelectionComponent implements OnInit, OnDestroy { if (active === "extraSmall") { this.isMobileView = true; this.showBackBtn = true; + this.showMap = false; }else{ this.showBackBtn = false; this.isMobileView = false; + this.showMap = true; + this.showLocationDetails = true; } } }) @@ -296,7 +299,6 @@ export class CenterSelectionComponent implements OnInit, OnDestroy { ) .subscribe( (response) => { - console.log(response) if (response[appConstants.RESPONSE]) { this.totalItems = response[appConstants.RESPONSE].totalItems; this.displayResults(response[appConstants.RESPONSE]); @@ -306,6 +308,7 @@ export class CenterSelectionComponent implements OnInit, OnDestroy { this.showMessage = true; this.showMesssageText = this.popupMessages.centerSelection.noRegCenters; this.selectedCentre = null; + this.isWorkingDaysAvailable = true; } }, (error) => { @@ -347,8 +350,10 @@ export class CenterSelectionComponent implements OnInit, OnDestroy { } selectedEachMap(center:any){ + if(this.isMobileView){ + this.showLocationDetails = false; + } this.isMobileView = false; - this.showLocationDetails = false; this.selectedRow(center) } @@ -361,6 +366,7 @@ export class CenterSelectionComponent implements OnInit, OnDestroy { backBtn(){ this.showMap = false; this.showLocationDetails = true; + this.isMobileView = true; } getLocation() { @@ -486,6 +492,7 @@ export class CenterSelectionComponent implements OnInit, OnDestroy { resolve(true); }, (error) => { + this.isWorkingDaysAvailable = true; this.showErrorMessage(error); }); }); diff --git a/resident-ui/src/app/feature/uinservices/updatedemographic/updatedemographic.component.css b/resident-ui/src/app/feature/uinservices/updatedemographic/updatedemographic.component.css index e11a99c5..e0134026 100644 --- a/resident-ui/src/app/feature/uinservices/updatedemographic/updatedemographic.component.css +++ b/resident-ui/src/app/feature/uinservices/updatedemographic/updatedemographic.component.css @@ -155,6 +155,7 @@ label{ } .files-list .single-file .info { width: 100%; + word-break: break-word; } .preview-heading{ @@ -201,6 +202,7 @@ label{ } .files-list .uploaded-single-file .info { width: 100%; + word-break: break-word } .preview-agree-card{