added edit fonction
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
(ok)="onModalOk()"
|
||||
(cancel)="onModalCancel()">
|
||||
|
||||
<app-profil-form #profilForm></app-profil-form>
|
||||
<app-profil-form #profilForm [user]=""></app-profil-form>
|
||||
</app-modal-button>
|
||||
|
||||
<div class="ml-95 w-150">
|
||||
|
||||
@@ -48,8 +48,6 @@ export class User {
|
||||
const users = this.createUser().profilForm.getRawValue();
|
||||
await firstValueFrom(this.usersService.createUserEndpoint(users))
|
||||
|
||||
console.log(users)
|
||||
|
||||
this.notificationService.success(
|
||||
'Success',
|
||||
'Utilisateur crée'
|
||||
|
||||
Reference in New Issue
Block a user