refactor: improve qualifications component structure and error handling #45

Closed
jleibl wants to merge 37 commits from task/refactor-qualification-logic-template into main
3 changed files with 3 additions and 5 deletions
Showing only changes of commit b85360fb65 - Show all commits

View File

@ -30,5 +30,7 @@ export class DeleteEmployeeComponent {
deleteEmployee(id: number) {
this.apiService.deleteById(id).subscribe();
location.reload();
}
}

View File

@ -51,10 +51,6 @@ export class EmployeeListComponent implements OnInit{
public ngOnInit(): void {
this.employees$ = this.fetchEmployees();
setInterval(() => {
this.employees$ = this.fetchEmployees();
}, 5000)
}
private fetchEmployees(): Observable<Employee[]> {

View File

@ -9,7 +9,7 @@
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body class="mat-typography">
<body class="mat-typography bg-white">
<app-root></app-root>
</body>
</html>