From 1ed0e47133a3deaf14a769a491dabcd702253ec9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Schmidt?= <9435005+AnSch1510@users.noreply.github.com> Date: Thu, 4 Jul 2024 20:56:25 +0200 Subject: [PATCH] fix: new player will actually be added instead of beeing edited --- .../app/components/users/user-dialog/user-dialog.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/src/app/components/users/user-dialog/user-dialog.component.ts b/src/client/src/app/components/users/user-dialog/user-dialog.component.ts index 3318cf4..4d30f87 100644 --- a/src/client/src/app/components/users/user-dialog/user-dialog.component.ts +++ b/src/client/src/app/components/users/user-dialog/user-dialog.component.ts @@ -170,6 +170,7 @@ export class UserDialogComponent { } public create(user: string) { + this.userToUpdate.set(undefined); this.form.reset({ alias: user }); this.visible.set(true); }