Fix transaction count and amount

This commit is contained in:
Kevin Pauer
2022-05-12 18:02:53 +02:00
parent bf99a78d44
commit 2a06f8a710
3 changed files with 16 additions and 3 deletions

View File

@@ -25,7 +25,7 @@
<!-- Time Column -->
<ng-container matColumnDef="isin">
<th mat-header-cell *matHeaderCellDef>ISIN</th>
<th mat-header-cell *matHeaderCellDef>ISIN/Symbol</th>
<td mat-cell *matCellDef="let element">{{ element.isin }}</td>
</ng-container>

View File

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