Skip to content

Commit

Permalink
Merge pull request #573 from Madhuravas/develop
Browse files Browse the repository at this point in the history
fixed file name alignment issue and reg centers map issue.
  • Loading branch information
aranaravi authored Nov 10, 2023
2 parents 99bae58 + cc1a758 commit 0b59f1d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
})
Expand Down Expand Up @@ -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]);
Expand All @@ -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) => {
Expand Down Expand Up @@ -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)
}

Expand All @@ -361,6 +366,7 @@ export class CenterSelectionComponent implements OnInit, OnDestroy {
backBtn(){
this.showMap = false;
this.showLocationDetails = true;
this.isMobileView = true;
}

getLocation() {
Expand Down Expand Up @@ -486,6 +492,7 @@ export class CenterSelectionComponent implements OnInit, OnDestroy {
resolve(true);
},
(error) => {
this.isWorkingDaysAvailable = true;
this.showErrorMessage(error);
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ label{
}
.files-list .single-file .info {
width: 100%;
word-break: break-word;
}

.preview-heading{
Expand Down Expand Up @@ -201,6 +202,7 @@ label{
}
.files-list .uploaded-single-file .info {
width: 100%;
word-break: break-word
}

.preview-agree-card{
Expand Down

0 comments on commit 0b59f1d

Please sign in to comment.