feat(qualifikationsverwaltung): add error handling for delete skill
All checks were successful
Playwright Tests / test (pull_request) Successful in 2m12s
All checks were successful
Playwright Tests / test (pull_request) Successful in 2m12s
This commit is contained in:
parent
2a337f3586
commit
5f18aa207d
2 changed files with 29 additions and 11 deletions
|
@ -12,15 +12,25 @@
|
|||
<h1>Qualifications</h1>
|
||||
</div>
|
||||
|
||||
<div class="header-actions">
|
||||
<form [formGroup]="searchForm">
|
||||
<div class="search-bar">
|
||||
<input type="text" placeholder="Search employee" formControlName="search">
|
||||
<button (click)="submit()">Search</button>
|
||||
<div class="d-flex flex-column">
|
||||
<div class="row header-actions">
|
||||
<form [formGroup]="searchForm">
|
||||
<div class="search-bar">
|
||||
<input type="text" placeholder="Search employee" formControlName="search">
|
||||
<button (click)="submit()">Search</button>
|
||||
</div>
|
||||
<p class="text-body-tertiary">Search for a propertiy of a Qualification. eg. Name</p>
|
||||
</form>
|
||||
<div class="d-flex">
|
||||
<button (click)="createSkill()" class="add-button me-auto">Add qualification</button>
|
||||
</div>
|
||||
<p class="text-body-tertiary">Search for a propertiy of a Qualification. eg. Name</p>
|
||||
</form>
|
||||
<button (click)="createSkill()" class="add-button">Add qualification</button>
|
||||
</div>
|
||||
|
||||
@if (errorDeletingSkill) {
|
||||
<div class="row">
|
||||
<p class="alert alert-danger">This Qualification can not be deleted because it still has employees.</p>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
||||
<table class="employee-table">
|
||||
|
|
Reference in a new issue