compute balance only if list of wallets is visible
This commit is contained in:
parent
420d5f253c
commit
0ae93cefb9
1 changed files with 2 additions and 0 deletions
|
|
@ -84,6 +84,8 @@ angular.module('copayApp.controllers').controller('SidebarController', function(
|
|||
|
||||
$scope.toggleWalletSelection = function() {
|
||||
$scope.walletSelection = !$scope.walletSelection;
|
||||
if (!$scope.walletSelection) return;
|
||||
|
||||
$scope.wallets = [];
|
||||
var wids = _.pluck($rootScope.iden.listWallets(), 'id');
|
||||
_.each(wids, function(wid) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue