Display Errors differently
This commit is contained in:
@@ -69,7 +69,7 @@ export class CompanyConnectComponent {
|
|||||||
this.router.navigate([""]);
|
this.router.navigate([""]);
|
||||||
},
|
},
|
||||||
error: err => {
|
error: err => {
|
||||||
alert("Failed to create the job listing. Err: " + err.error);
|
this.ErrorMsg = err.error;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ export class JobEditComponent {
|
|||||||
window.location.reload();
|
window.location.reload();
|
||||||
},
|
},
|
||||||
error: err => {
|
error: err => {
|
||||||
alert("Failed to delete the job listing. Try again");
|
this.ErrorMsg = err.error;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ export class JobsComponent {
|
|||||||
window.location.reload();
|
window.location.reload();
|
||||||
},
|
},
|
||||||
error: err => {
|
error: err => {
|
||||||
alert("Failed to delete the job listing. Try again");
|
this.ErrorMsg = err.error;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user