|
@@ -295,6 +295,7 @@ export class AddHospitalComponent implements OnInit, OnDestroy {
|
|
|
this.checkSaveClick = false;
|
|
|
console.log(responce);
|
|
|
this.toastr.success('تم التعديل بنجاح ');
|
|
|
+ this.location.back();
|
|
|
}, (error) => {
|
|
|
this.checkSaveClick = false;
|
|
|
console.log(error);
|
|
@@ -307,6 +308,7 @@ export class AddHospitalComponent implements OnInit, OnDestroy {
|
|
|
this.checkSaveClick = false;
|
|
|
console.log(responce);
|
|
|
this.toastr.success('تم التعديل بنجاح ');
|
|
|
+ this.location.back();
|
|
|
}, (error) => {
|
|
|
this.checkSaveClick = false;
|
|
|
console.log(error);
|
|
@@ -326,6 +328,7 @@ export class AddHospitalComponent implements OnInit, OnDestroy {
|
|
|
this.checkSaveClick = false;
|
|
|
console.log(responce);
|
|
|
this.toastr.success('تم التعديل بنجاح ');
|
|
|
+ this.location.back();
|
|
|
}, (error) => {
|
|
|
this.checkSaveClick = false;
|
|
|
console.log(error);
|
|
@@ -338,6 +341,7 @@ export class AddHospitalComponent implements OnInit, OnDestroy {
|
|
|
this.checkSaveClick = false;
|
|
|
console.log(responce);
|
|
|
this.toastr.success('تم التعديل بنجاح ');
|
|
|
+ this.location.back();
|
|
|
}, (error) => {
|
|
|
this.checkSaveClick = false;
|
|
|
console.log(error);
|