This commit is contained in:
kevinpauer 2022-05-03 11:40:37 +02:00
parent 653762545e
commit db6b7a7f02
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ export class DashboardComponent implements OnInit {
this.dataSourceTransactions = TRANSACTION_DATA;
//TODO move to helper service
this.profit -= this.depotCost;
this.profit += this.depotCost;
});
}

View File

@ -30,7 +30,7 @@ export class UserDialogComponent {
this.data.isin,
this.data.time,
+this.data.count,
+this.data.price.toFixed(2)
+this.data.price.toFixed(2) * -1
)
.subscribe((data) => {
console.log(data);