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

@ -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;