Fix Stock pannel and data

This commit is contained in:
kevinpauer
2022-05-03 11:29:55 +02:00
parent 7f671c96ce
commit 653762545e
2 changed files with 37 additions and 26 deletions

View File

@@ -12,28 +12,36 @@
The actual rendered columns are set as a property on the row definition" -->
<!-- Symbol Column -->
<ng-container matColumnDef="position">
<th mat-header-cell *matHeaderCellDef>Symbol</th>
<td mat-cell *matCellDef="let element">{{ element.symbol }}</td>
</ng-container>
<!-- Count Column -->
<ng-container matColumnDef="name">
<ng-container matColumnDef="count">
<th mat-header-cell *matHeaderCellDef>Count</th>
<td mat-cell *matCellDef="let element">{{ element.count }}</td>
</ng-container>
<!-- Time Column -->
<ng-container matColumnDef="weight">
<th mat-header-cell *matHeaderCellDef>Time</th>
<td mat-cell *matCellDef="let element">{{ element.time }}</td>
<!-- Count Column -->
<ng-container matColumnDef="comment">
<th mat-header-cell *matHeaderCellDef>Comment</th>
<td mat-cell *matCellDef="let element">{{ element.comment }}</td>
</ng-container>
<!-- Time Column -->
<ng-container matColumnDef="current-price">
<th mat-header-cell *matHeaderCellDef>Current Price</th>
<ng-container matColumnDef="isin">
<th mat-header-cell *matHeaderCellDef>ISIN</th>
<td mat-cell *matCellDef="let element">{{ element.isin }}</td>
</ng-container>
<!-- Symbol Column -->
<ng-container matColumnDef="current_price">
<th mat-header-cell *matHeaderCellDef>Price</th>
<td mat-cell *matCellDef="let element">
{{ element.currentPrice }}
{{ element.current_price }}
</td>
</ng-container>
<!-- Time Column -->
<ng-container matColumnDef="last_transaction">
<th mat-header-cell *matHeaderCellDef>Last Transaction</th>
<td mat-cell *matCellDef="let element">
{{ element.last_transaction }}
</td>
</ng-container>