diff --git a/frontend/src/app/components/block/block.component.html b/frontend/src/app/components/block/block.component.html index 02f669dc2..395facb3c 100644 --- a/frontend/src/app/components/block/block.component.html +++ b/frontend/src/app/components/block/block.component.html @@ -50,12 +50,12 @@ Total fees - {{ fees | number: '1.2-8' }} BTC () + {{ fees | number: '1.2-2' }} BTC () Reward + fees: - {{ blockSubsidy + fees | number: '1.2-8' }} BTC () + {{ blockSubsidy + fees | number: '1.2-2' }} BTC () diff --git a/frontend/src/app/fiat/fiat.component.html b/frontend/src/app/fiat/fiat.component.html index 8ec9b4bdf..19a5c8aa0 100644 --- a/frontend/src/app/fiat/fiat.component.html +++ b/frontend/src/app/fiat/fiat.component.html @@ -1 +1 @@ -{{ (conversions$ | async)?.USD * value / 100000000 | currency:'USD':'symbol':'1.2-2' }} \ No newline at end of file +{{ (conversions$ | async)?.USD * value / 100000000 | currency:'USD':'symbol':digitsInfo }} \ No newline at end of file diff --git a/frontend/src/app/fiat/fiat.component.ts b/frontend/src/app/fiat/fiat.component.ts index 54b3ad909..9d22355d8 100644 --- a/frontend/src/app/fiat/fiat.component.ts +++ b/frontend/src/app/fiat/fiat.component.ts @@ -12,6 +12,7 @@ export class FiatComponent implements OnInit { conversions$: Observable; @Input() value: number; + @Input() digitsInfo = '1.2-2'; constructor( private stateService: StateService,