From df9c889c7ee2871fded42dbfe7c94a90c3128c8d Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Fri, 26 Jan 2024 11:32:42 +0100 Subject: [PATCH] Fixed add new user warning --- .../components/user-warning/user-warning.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/app/modules/view/server/user-warning/components/user-warning/user-warning.component.ts b/web/src/app/modules/view/server/user-warning/components/user-warning/user-warning.component.ts index 1c6a620c..749b0323 100644 --- a/web/src/app/modules/view/server/user-warning/components/user-warning/user-warning.component.ts +++ b/web/src/app/modules/view/server/user-warning/components/user-warning/user-warning.component.ts @@ -183,6 +183,7 @@ export class UserWarningComponent extends ComponentWithTable implements OnInit, } this.updateUserByWarning(newUserWarning.user?.id ?? 0, this.userWarnings.filter(uw => uw.user?.id == newUserWarning.user?.id)); + this.isEditingNew = false; } public onRowEditCancel(index: number): void {