Skip to content

Commit 65477a0

Browse files
fix(admin): disable remove button
The remove button is disabled after refreshing the list of services status.
1 parent a0ebd8b commit 65477a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/admin-gui/src/app/facilities/pages/facility-detail-page/facility-service-status/facility-service-status.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h1 class="page-subtitle">{{'FACILITY_DETAIL.SERVICES_STATUS.TITLE' | translate}
3131
<button
3232
*ngIf="deleteAuth"
3333
mat-flat-button
34-
[disabled]="disableRemoveButton || loading"
34+
[disabled]="selected.selected.length === 0 || disableRemoveButton || loading"
3535
[matMenuTriggerFor]="menu"
3636
[matTooltipDisabled]="!disableRemoveButton"
3737
class="me-2 dropdown-toggle"

0 commit comments

Comments
 (0)