1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-25 20:53:22 +00:00

[PM-18663] Fix calls to bit-button loading states (#13592)

This commit is contained in:
Vicki League
2025-02-27 11:39:46 -05:00
committed by GitHub
parent e6aaa65563
commit 1da7f2052c
2 changed files with 5 additions and 5 deletions

View File

@@ -45,14 +45,14 @@
#refreshBtn
type="button"
(click)="refresh()"
[disabled]="$any(refreshBtn).loading"
[disabled]="$any(refreshBtn).loading()"
[appApiAction]="refreshPromise"
bitButton
>
<span [hidden]="$any(refreshBtn).loading">{{ "premiumRefresh" | i18n }}</span>
<span [hidden]="$any(refreshBtn).loading()">{{ "premiumRefresh" | i18n }}</span>
<i
class="bwi bwi-spinner bwi-spin bwi-lg bwi-fw"
[hidden]="!$any(refreshBtn).loading"
[hidden]="!$any(refreshBtn).loading()"
aria-hidden="true"
></i>
</button>