Hide "included in block" if block is clearly visible.

This commit is contained in:
softsimon 2020-08-10 17:48:07 +07:00
parent 1b9900ccf8
commit 09b1a0d430
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7

View File

@ -47,7 +47,7 @@
</div> </div>
</td> </td>
</tr> </tr>
<tr> <tr *ngIf="tx.status.block_height <= latestBlock.height - 8">
<td class="td-width">Included in block</td> <td class="td-width">Included in block</td>
<td> <td>
<a [routerLink]="['/block/' | relativeUrl, tx.status.block_hash]" [state]="{ data: { blockHeight: tx.status.block_height } }">{{ tx.status.block_height }}</a> <a [routerLink]="['/block/' | relativeUrl, tx.status.block_hash]" [state]="{ data: { blockHeight: tx.status.block_height } }">{{ tx.status.block_height }}</a>