[accelerator] show ~ for pending accel in the block column

This commit is contained in:
nymkappa 2024-03-17 10:12:17 +09:00
parent 1c76a6091a
commit 2245109ae6
No known key found for this signature in database
GPG key ID: 92358FC85D9645DE

View file

@ -46,7 +46,8 @@
~
</td>
<td class="block text-right">
<a [routerLink]="['/block' | relativeUrl, acceleration.blockHeight]">{{ acceleration.blockHeight }}</a>
<a *ngIf="acceleration.blockHeight" [routerLink]="['/block' | relativeUrl, acceleration.blockHeight]">{{ acceleration.blockHeight }}</a>
<span *ngIf="!acceleration.blockHeight">~</span>
</td>
<td class="status text-right">
<span *ngIf="acceleration.status === 'accelerating'" class="badge badge-warning" i18n="accelerator.pending">Pending</span>