fix satoshis format

This commit is contained in:
Rene V. Vergara A. 2022-07-22 17:13:55 -05:00
parent b291265b5b
commit 8223e10a52
2 changed files with 4 additions and 2 deletions

View file

@ -16,6 +16,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- (2022-07-22) Notifier service created - replaces snackbar used for - (2022-07-22) Notifier service created - replaces snackbar used for
reporting invalid viewing key. reporting invalid viewing key.
Notifier component created - used to apply custom style to message sent by Notifier service. Notifier component created - used to apply custom style to message sent by Notifier service.
--
fix display of values in item list when using satoshis
- (2022-07-21) user.service.ts - (2022-07-21) user.service.ts
- Function updateOwner() removed - not needed anymore. - Function updateOwner() removed - not needed anymore.
- Response Error 500 (Invalid Viewing Key) catched in - Response Error 500 (Invalid Viewing Key) catched in

View file

@ -30,9 +30,9 @@
{{(item.cost/zecPrice) | number: '1.08'}} {{(item.cost/zecPrice) | number: '1.08'}}
[{{item.cost | number: '1.02' | currency: getCurrency() }}] [{{item.cost | number: '1.02' | currency: getCurrency() }}]
</div> </div>
<p class="price" <p class="rv_price"
*ngIf="owner.zats"> *ngIf="owner.zats">
&#x24e9;(item.cost/zecPrice)*100000000 | number: '1.0-0'}} &#x24e9;{{(item.cost/zecPrice)*100000000 | number: '1.0-0'}}
</p> </p>
</td> </td>
</tr> </tr>