create new address on send

This commit is contained in:
Matias Alejo Garcia 2015-06-27 13:48:25 -03:00
commit 063b520db0
3 changed files with 54 additions and 14 deletions

View file

@ -237,7 +237,9 @@ angular.module('copayApp.controllers').controller('indexController', function($r
self.copayers = walletStatus.wallet.copayers;
self.preferences = walletStatus.preferences;
self.setBalance(walletStatus.balance);
self.otherWallets = profileService.getWallets(self.network);
self.otherWallets = lodash.filter(profileService.getWallets(self.network), function(w) {
return w.id != self.walletId;
});;
$rootScope.$apply();
});
});