finish all getall into table

This commit is contained in:
2025-11-18 12:04:51 +01:00
parent 73ce63d7d0
commit 4b5fd254a1
57 changed files with 3048 additions and 82 deletions

View File

@@ -7,6 +7,7 @@ import {UpdateUser} from "../update-user/update-user";
import {GetUserDto, UsersService} from "../../services/api";
import {NzNotificationService} from "ng-zorro-antd/notification";
import {firstValueFrom} from "rxjs";
import {NzDividerComponent} from "ng-zorro-antd/divider";
@Component({
selector: 'app-user-table',
@@ -16,6 +17,7 @@ import {firstValueFrom} from "rxjs";
NzButtonComponent,
NzTableComponent,
UpdateUser,
NzDividerComponent,
],
templateUrl: './user-table.html',
styleUrl: './user-table.css',
@@ -38,6 +40,7 @@ export class UserTable implements OnInit {
try {
const users = await firstValueFrom(this.usersService.getAllUsersEndpoint())
this.users.set(users);
} catch (e) {
this.notificationService.error(
'Erreur',