Show contact if exist on tx list

This commit is contained in:
Gustavo Maximiliano Cortez 2016-10-19 09:57:55 -03:00
commit dc21ac2a8c
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
2 changed files with 11 additions and 5 deletions

View file

@ -161,8 +161,7 @@
<span class="ellipsis">
<div ng-if="btx.message">{{btx.message}}</div>
<div ng-if="!btx.message && btx.note.body">{{btx.note.body}}</div>
<div ng-if="!btx.message && !btx.note.body && wallet.addressbook[btx.addressTo]">{{wallet.addressbook[btx.addressTo]}}</div>
<div ng-if="!btx.message && !btx.note.body && !wallet.addressbook[btx.addressTo]" translate> Sent</div>
<contact ng-if="!btx.message && !btx.note.body" class="ellipsis" address="{{btx.addressTo}}" label="'Sent'"></contact>
</span>
</div>