diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 1ade82f4..aab995a9 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -523,24 +523,18 @@ export class AppComponent implements OnInit { const numbers = new Array(); if (this.userHistory && this.userHistory.values && this.userHistory.values.length > 0) { this.userHistory.values.forEach(v => { - if (v.totalValue > 0) { numbers.push(Math.round(v.totalValue * this.dataService.getPrice(this.fiat) * 100) / 100); - } }); } return numbers; } - - getUserHistoryTotalIncomeDfi(): Array { const numbers = new Array(); if (this.userHistory && this.userHistory.values && this.userHistory.values.length > 0) { this.userHistory.values.forEach(v => { - if (v.totalValueIncomeDfi > 0) { numbers.push(Math.round(v.totalValueIncomeDfi * 100) / 100); - } }); } @@ -551,9 +545,7 @@ export class AppComponent implements OnInit { const numbers = new Array(); if (this.userHistory && this.userHistory.values && this.userHistory.values.length > 0) { this.userHistory.values.forEach(v => { - if (v.totalValueIncomeUsd > 0) { numbers.push(Math.round(v.totalValueIncomeUsd * this.dataService.getPrice(this.fiat) * 100) / 100); - } }); }