Fix last few bugs
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
<ng-container matColumnDef="current_price">
|
||||
<th mat-header-cell *matHeaderCellDef>Price</th>
|
||||
<td mat-cell *matCellDef="let element">
|
||||
{{ element.current_price }}$
|
||||
{{ element.current_price }}€
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
@@ -84,18 +84,18 @@
|
||||
<div class="row">
|
||||
<div class="col-6 col-sm-4">
|
||||
<mat-icon>savings</mat-icon
|
||||
><span class="money">{{ depotCurrentValue.toFixed(2) }}$</span>
|
||||
><span class="money">{{ depotCurrentValue.toFixed(2) }}€</span>
|
||||
</div>
|
||||
<div class="col-6 col-sm-4">
|
||||
<mat-icon>paid</mat-icon
|
||||
><span class="money">{{ depotCost.toFixed(2) }}$</span>
|
||||
><span class="money">{{ depotCost.toFixed(2) }}€</span>
|
||||
</div>
|
||||
<div class="col-6 col-sm-4">
|
||||
<mat-icon>account_balance</mat-icon
|
||||
><span
|
||||
class="money"
|
||||
[ngClass]="{ green: profit >= 0, red: profit < 0 }"
|
||||
>{{ profit.toFixed(2) }}$</span
|
||||
>{{ profit.toFixed(2) }}€</span
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user