Display Errors differently

This commit is contained in:
2025-07-20 22:08:31 -07:00
parent 2e4d1f358c
commit 2bf8909930
3 changed files with 3 additions and 3 deletions
@@ -69,7 +69,7 @@ export class CompanyConnectComponent {
this.router.navigate([""]);
},
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();
},
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();
},
error: err => {
alert("Failed to delete the job listing. Try again");
this.ErrorMsg = err.error;
}
});
}