Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Merge pull request #481 from alepop/477-fix-balance-notification
Browse files Browse the repository at this point in the history
Fix notification about negative balance - Closes #477
  • Loading branch information
slaweet authored Jul 18, 2017
2 parents 31ad3b2 + 849f3d8 commit e00040c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/main/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ app.component('main', {
delete res.publicKey;
}

if (res.balance > this.account.get().balance) {
const amount = res.balance - this.account.get().balance;
const amount = res.balance - this.account.get().balance;
if (amount > 0) {
this.notify.about('deposit', amount);
}

Expand Down

0 comments on commit e00040c

Please sign in to comment.