Refactored "features" and "fee rating" from transaction into components.

This commit is contained in:
softsimon
2020-07-19 14:54:42 +07:00
parent a3638c1921
commit 5eefc1ef54
10 changed files with 129 additions and 74 deletions

View File

@@ -0,0 +1,3 @@
<span *ngIf="feeRating === 1" class="badge badge-success">Optimal</span>
<span *ngIf="feeRating === 2" class="badge badge-warning" title="Only ~{{ medianFeeNeeded }} sat/vB was needed to get into this block">Overpaid {{ overpaidTimes }}x</span>
<span *ngIf="feeRating === 3" class="badge badge-danger" title="Only ~{{ medianFeeNeeded }} sat/vB was needed to get into this block">Overpaid {{ overpaidTimes }}x</span>