Fix transaction count and amount
This commit is contained in:
@@ -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>
|
||||
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user