Merge pull request #668 from braydonf/bug/tx-mined-time

Fix bug with displaying mined time for mempool transactions.
This commit is contained in:
Chris Kleeschulte 2015-09-22 13:17:47 -04:00
commit 4684224a53
2 changed files with 3 additions and 3 deletions

View File

@ -63,8 +63,8 @@
</tr>
<tr>
<td><strong translate>Mined Time</strong></td>
<td data-ng-show="tx.time" class="text-muted text-right">{{tx.blocktime * 1000|date:'medium'}}</td>
<td data-ng-show="!tx.time" class="text-muted text-right">N/A</td>
<td data-ng-show="tx.blocktime" class="text-muted text-right">{{tx.blocktime * 1000|date:'medium'}}</td>
<td data-ng-show="!tx.blocktime" class="text-muted text-right">N/A</td>
</tr>
<tr>
<td><strong translate>Included in Block</strong></td>

View File

@ -13,7 +13,7 @@
<span translate>first seen at</span>
<time>{{tx.firstSeenTs * 1000 | date:'medium'}}</time>
</div>
<div data-ng-show="tx.time && !tx.firstSeenTs">
<div data-ng-show="tx.blocktime && !tx.firstSeenTs">
<span translate>mined</span>
<time>{{tx.time * 1000 | date:'medium'}}</time>
</div>