Skip to content

Commit 307fde6

Browse files
committed
fix(admin): disable to add new form item during the data loading
* Add button is now disabled when the data are loading - we want to avoid potential bug (edge case) when new item is locally added to the list and then is rewritten by asynchronously loaded data from BE.
1 parent 5ff7566 commit 307fde6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

apps/admin-gui/src/app/vos/pages/group-detail-page/group-settings/group-settings-application-form/group-settings-application-form.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ <h1 class="page-subtitle">
5353

5454
<button
5555
*ngIf="editAuth"
56+
[disabled]="loadingTable"
5657
(click)="add()"
5758
color="accent"
5859
class="me-2 action-button"

apps/admin-gui/src/app/vos/pages/vo-detail-page/vo-settings/vo-settings-application-form/vo-settings-application-form.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ <h1 class="page-subtitle">
4141

4242
<button
4343
*ngIf="editAuth"
44+
[disabled]="loadingTable"
4445
(click)="add()"
4546
color="accent"
4647
class="me-2 action-button"

0 commit comments

Comments
 (0)