Liquid: Display block times and amounts correctly.

This commit is contained in:
softsimon committed 2020-03-25 21:29:40 +07:00
1 parent 9a8740cbe0
commit 6b96dce478
8 files changed
+33 -6

No files matched your search

@@ -102,7 +102,12 @@
<span class="skeleton-loader"></span>
</ng-template>
<ng-template #estimationTmpl>
~{{ 10 * txInBlockIndex + 10 }} minutes <i>({{ txInBlockIndex + 1 }} block{{ txInBlockIndex > 0 ? 's' : '' }})</i>
<ng-template [ngIf]="network === 'liquid'" [ngIfElse]="timeEstimateDefault">
&lt; {{ 1 * txInBlockIndex + 1 }} minutes <i>({{ txInBlockIndex + 1 }} block{{ txInBlockIndex > 0 ? 's' : '' }})</i>
</ng-template>
<ng-template #timeEstimateDefault>
~{{ 10 * txInBlockIndex + 10 }} minutes <i>({{ txInBlockIndex + 1 }} block{{ txInBlockIndex > 0 ? 's' : '' }})</i>
</ng-template>
</ng-template>
</td>
</tr>