mirror of
https://github.com/mempool/mempool.git
synced 2025-03-26 09:42:08 +01:00
Display confidential instead of nothing for confidential assets.
fixes #110
This commit is contained in:
parent
01689c8433
commit
6bc6966019
@ -18,15 +18,15 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Total received</td>
|
||||
<td><app-amount [satoshis]="receieved" [noFiat]="true"></app-amount></td>
|
||||
<td *ngIf="address.chain_stats.funded_txo_sum !== undefined; else confidentialTd"><app-amount [satoshis]="receieved" [noFiat]="true"></app-amount></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Total sent</td>
|
||||
<td><app-amount [satoshis]="sent" [noFiat]="true"></app-amount></td>
|
||||
<td *ngIf="address.chain_stats.spent_txo_sum !== undefined; else confidentialTd"><app-amount [satoshis]="sent" [noFiat]="true"></app-amount></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Balance</td>
|
||||
<td><app-amount [satoshis]="receieved - sent" [noFiat]="true"></app-amount> (<app-fiat [value]="receieved - sent"></app-fiat>)</td>
|
||||
<td *ngIf="address.chain_stats.funded_txo_sum !== undefined; else confidentialTd"><app-amount [satoshis]="receieved - sent" [noFiat]="true"></app-amount> (<app-fiat [value]="receieved - sent"></app-fiat>)</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -106,4 +106,8 @@
|
||||
|
||||
</div>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<ng-template #confidentialTd>
|
||||
<td>Confidential</td>
|
||||
</ng-template>
|
||||
|
Loading…
x
Reference in New Issue
Block a user