Show contact name if sending is pending

This commit is contained in:
Gustavo Maximiliano Cortez 2017-05-24 17:26:48 -03:00
commit 0095d8450f
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF

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>