set currency properly when converting to USD; use number formatting on block detail for block reward
This commit is contained in:
parent
d7f2b20ee1
commit
a8e604c9cf
@ -1,4 +1,4 @@
|
|||||||
<ion-list radio-group [(ngModel)]="currency.currencySymbol">
|
<ion-list radio-group [(ngModel)]="currency.currencySymbol" (ionChange)="currency.setCurrency(currency.currencySymbol)">
|
||||||
<ion-list-header>
|
<ion-list-header>
|
||||||
Units
|
Units
|
||||||
</ion-list-header>
|
</ion-list-header>
|
||||||
|
|||||||
@ -29,7 +29,7 @@
|
|||||||
<ion-item>
|
<ion-item>
|
||||||
Block Reward
|
Block Reward
|
||||||
<ion-note item-end>
|
<ion-note item-end>
|
||||||
{{ currency.getConversion(block.reward) }}
|
{{ currency.getConvertedNumber(block.reward) | number:'1.0-8' }} {{ currency.currencySymbol }}
|
||||||
</ion-note>
|
</ion-note>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
<ion-item>
|
<ion-item>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user