Show fiat value of totalRecieved for addresses.

Rename fee to fee burnt.
This commit is contained in:
softsimon
2020-07-14 23:49:57 +07:00
parent ca0cf23d66
commit 3008f99668
6 changed files with 7 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
import { Component, ChangeDetectionStrategy, OnInit, Input } from '@angular/core';
import { Component, ChangeDetectionStrategy, Input, OnChanges } from '@angular/core';
import { IconPrefix, IconName } from '@fortawesome/fontawesome-common-types';
@Component({
@@ -7,7 +7,7 @@ import { IconPrefix, IconName } from '@fortawesome/fontawesome-common-types';
styleUrls: ['./bisq-icon.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class BisqIconComponent implements OnInit {
export class BisqIconComponent implements OnChanges {
@Input() txType: string;
iconProp: [IconPrefix, IconName] = ['fas', 'leaf'];
@@ -15,7 +15,7 @@ export class BisqIconComponent implements OnInit {
constructor() { }
ngOnInit() {
ngOnChanges() {
switch (this.txType) {
case 'UNVERIFIED':
this.iconProp[1] = 'question';