routing issue and error issue fixed

This commit is contained in:
bitbucket 2023-04-18 16:00:21 +05:30
parent 2084caeb0b
commit 5792a61b13
7 changed files with 15 additions and 9 deletions

View File

@ -200,7 +200,11 @@ export class AppoinmentsListComponent implements OnInit {
});
dialogRef.afterClosed().subscribe(result => {
console.log(result)
this.formAddUpdateAndDelete(result,result.data)
if(result == 0){
this.getAppoinmentsList()
}
// this.formAddUpdateAndDelete(result,result.data)
// if(result.event == 'Add'){
// this.addRowData(result.data);
// }else if(result.event == 'Update'){

View File

@ -220,7 +220,7 @@ export class DialogBoxComponent implements OnInit {
this._app.addFormDetails(paramsData).subscribe(res => {
if (res.status == 200) {
this.notifierService.notify('success', 'Appointment Added Successfully');
this.dialogRef.close();
this.dialogRef.close(0);
}
})
}

View File

@ -72,6 +72,7 @@ export class BusinessListComponent implements OnInit {
this.recordStatus=false;
}
else{
this.isLoading = false
this.businessList=[];
this.businessListLength= null;
this.recordStatus=true;

View File

@ -112,7 +112,7 @@
</mat-select>
</mat-form-field>
</div>
<div class="form-group label-container" *ngIf="userRole != 'BADMIN'">
<div class="form-group label-container" *ngIf="userRole != 'BADMIN'" >
<label>Caption <span style="margin-left: 4rem;">-</span></label>
<a style="padding: 10px;" *ngIf="isEditable == false">{{practitionerdetails.caption}}</a>
<mat-form-field style="width: 60%;" *ngIf="isEditable == true">

View File

@ -35,7 +35,7 @@
<div class="main-content" fxLayout="row" fxLayoutAlign="center start">
<div fxFlex.gt-sm="90" fxFlex.gt-xs="95" fxFlex="100">
<div class="messages-list material fullscreen">
<mat-accordion>
<mat-accordion >
<!-- <mat-expansion-panel>
<mat-expansion-panel-header > -->
<!-- <div class="example-container mat-elevation-z8 "> -->

View File

@ -37,7 +37,8 @@ export class DoctorProfileComponent implements OnInit {
this.profileDetails = this.bookedAppointment.practitionerInfos[0]
console.log(this.profileDetails)
this.skillsDetails = JSON.parse(this.profileDetails.skills)
console.log(this.skillsDetails)
this.skillsDetails = JSON.parse(this.skillsDetails)
}else{
let URL = this.router.url;