Skip to content

Commit

Permalink
chore: use animation attribute instead of spin of fa-icon component (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ert78gb authored Feb 9, 2025
1 parent d46f159 commit a48a17a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h1 class="text-center">
<ng-template #loading>
<div class="mb-3">
<fa-icon [icon]="faSpinner"
spin="true"></fa-icon>
animation="spin"></fa-icon>
Loading contributor list...
</div>
</ng-template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
Check for update
<fa-icon *ngIf="state.checkingForUpdate"
[icon]="faSpinner"
spin="true"></fa-icon>
animation="spin"></fa-icon>
</button>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h1>
<ul class="list-unstyled">
<li *ngFor="let state of firmwareUpgradeStates.modules; trackBy:firmwareUpgradeStateTrackByFn;">
<span class="upgrading">
<fa-icon *ngIf="state.state === 'Upgrading'" [icon]="faSpinner" [spin]="true" [fixedWidth]="true"></fa-icon>
<fa-icon *ngIf="state.state === 'Upgrading'" [icon]="faSpinner" animation="spin" [fixedWidth]="true"></fa-icon>
<fa-icon *ngIf="state.state === 'Failed'" [icon]="faExclamation" class="text-danger" [fixedWidth]="true"></fa-icon>
<fa-icon *ngIf="state.state === 'Success'" [icon]="faCheck" [fixedWidth]="true"></fa-icon>
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
[disabled]="state.showProgress">
<fa-icon *ngIf="state.showProgress"
[icon]="faSpinner"
spin="true"></fa-icon>
animation="spin"></fa-icon>
{{state.text}}
</button>
2 changes: 1 addition & 1 deletion packages/uhk-web/src/app/pages/update-agent.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { ForceUpdateAction } from '../store/actions/app-update.action';
Update Agent
<fa-icon *ngIf="isForceUpdate"
[icon]="faSpinner"
spin="true"></fa-icon>
animation="spin"></fa-icon>
</button>
</div>
`,
Expand Down

0 comments on commit a48a17a

Please sign in to comment.