Clean code
This commit is contained in:
parent
46d123a755
commit
420a063017
2 changed files with 3 additions and 8 deletions
|
|
@ -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('-','')}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue