Clean code

This commit is contained in:
Gustavo Maximiliano Cortez 2017-01-05 18:10:57 -03:00
commit 420a063017
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
2 changed files with 3 additions and 8 deletions

View file

@ -105,7 +105,7 @@
<h2>
<span ng-show="tx.type == 'sell' && tx.status == 'completed'">Sold</span>
<span ng-show="tx.type == 'buy' && tx.status == 'completed'">Bought</span>
<span ng-show="tx.type == 'send' && tx.to && tx.status == 'completed'">Bought</span>
</h2>
<p>
<span ng-if="tx.type == 'sell' || (tx.type == 'send' && tx.from)">-</span>{{tx.amount.amount.replace('-','')}}