From e6aa213aa14dde4c56e7c9c2650ab4d79ddce91a Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 3 Mar 2023 19:32:39 -0800 Subject: [PATCH] disable bulk edit permissions dialog buttons on submit --- .../permissions-dialog/permissions-dialog.component.html | 4 ++-- .../common/permissions-dialog/permissions-dialog.component.ts | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src-ui/src/app/components/common/permissions-dialog/permissions-dialog.component.html b/src-ui/src/app/components/common/permissions-dialog/permissions-dialog.component.html index e452c8144..7c53b16ca 100644 --- a/src-ui/src/app/components/common/permissions-dialog/permissions-dialog.component.html +++ b/src-ui/src/app/components/common/permissions-dialog/permissions-dialog.component.html @@ -13,6 +13,6 @@ diff --git a/src-ui/src/app/components/common/permissions-dialog/permissions-dialog.component.ts b/src-ui/src/app/components/common/permissions-dialog/permissions-dialog.component.ts index 0bac3120d..5ddb8e10a 100644 --- a/src-ui/src/app/components/common/permissions-dialog/permissions-dialog.component.ts +++ b/src-ui/src/app/components/common/permissions-dialog/permissions-dialog.component.ts @@ -29,6 +29,8 @@ export class PermissionsDialogComponent { permissions_form: new FormControl(), }) + buttonsEnabled: boolean = true + get permissions() { return { owner: this.form.get('permissions_form').value?.owner ?? null,