Hide estimation time if nbBlocks is null

This commit is contained in:
Gustavo Maximiliano Cortez 2015-08-03 12:01:51 -03:00
parent 7258b4d64c
commit 88e1481a3e
No known key found for this signature in database
GPG Key ID: 15EDAD8D9F2EB1AF
1 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,9 @@
<div class="row column m20t">
<div class="text-gray size-12 text-center" ng-repeat="fee in (index.network == 'livenet' ? index.feeLevels.livenet :
index.feeLevels.testnet)" ng-if="fee.level == index.currentFeeLevel">
<span translate>Average confirmation time: {{fee.nbBlocks * 10}} minutes</span>. <br>
<div ng-show="fee.nbBlocks">
<span translate>Average confirmation time: {{fee.nbBlocks * 10}} minutes</span>.
</div>
<span class="size-12 text-light" translate>Current fee rate for this policy: {{fee.feePerKBUnit}}/kiB</span>
</div>
</div>