Fix Stock pannel and data
This commit is contained in:
@@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user