Merge pull request #6109 from cmgustavo/bug/view-entry-addressbook-01

Show contact name if sending is pending
This commit is contained in:
Gabriel Edgardo Bazán 2017-05-29 14:07:10 -03:00 committed by GitHub
commit 82112dc66b
1 changed files with 3 additions and 1 deletions

View File

@ -262,7 +262,9 @@
<div class="wallet-details__tx-title" ng-if="isUnconfirmed(btx)">
<div class="ellipsis" style="color: #B4B4B4;">
<span ng-if="btx.action == 'sent' || btx.action == 'moved'" translate>Sending</span>
<span ng-if="btx.action == 'sent' || btx.action == 'moved'">
{{addressbook[btx.addressTo].name || addressbook[btx.addressTo] || 'Sending'|translate}}
</span>
<span ng-if="btx.action == 'received'" translate>Receiving</span>
</div>
</div>