|
|
@ -371,8 +371,8 @@ export class GfAccountDetailDialogComponent implements OnInit { |
|
|
value: isNumber(netWorth) ? netWorth : netWorthInPercentage |
|
|
value: isNumber(netWorth) ? netWorth : netWorthInPercentage |
|
|
}; |
|
|
}; |
|
|
}) |
|
|
}) |
|
|
.filter((item): item is LineChartItem => { |
|
|
.filter(({ value }): item is LineChartItem => { |
|
|
return isNumber(item.value); |
|
|
return isNumber(value); |
|
|
}); |
|
|
}); |
|
|
} else { |
|
|
} else { |
|
|
this.historicalDataItems = this.accountBalances.map( |
|
|
this.historicalDataItems = this.accountBalances.map( |
|
|
|