disable sweep button without balance

This commit is contained in:
Javier 2015-10-07 17:49:34 -03:00
commit 06e12baa6e
2 changed files with 54 additions and 57 deletions

View file

@ -59,7 +59,7 @@
</div>
<button
ng-disabled="paperWallet.sending"
ng-disabled="paperWallet.sending || paperWallet.balanceSat <= 0"
ng-style="{'background-color':index.backgroundColor}"
class="button black round expand"
ng-click="paperWallet.sweepWallet()"