This commit is contained in:
Kevin Pauer
2022-05-12 18:25:59 +02:00
137 changed files with 41 additions and 19 deletions

View File

@@ -140,7 +140,7 @@
<!-- Name Column -->
<ng-container matColumnDef="name">
<th mat-header-cell *matHeaderCellDef>Price</th>
<td mat-cell *matCellDef="let element">{{ element.price }}$</td>
<td mat-cell *matCellDef="let element">{{ element.price }}</td>
</ng-container>
<!-- Weight Column -->

View File

@@ -63,7 +63,7 @@ export class DashboardComponent implements OnInit {
});
}
this.dataSourceTransactions = TRANSACTION_DATA;
this.profit = this.depotCurrentValue - this.depotCost;
this.profit = this.depotCurrentValue + this.depotCost;
});
}