mirror of https://github.com/BTCPrivate/copay.git
fixed bug in controllerUtils#isFocusedWallet
This commit is contained in:
parent
653db8f320
commit
076d4c20cf
|
@ -64,7 +64,7 @@ angular.module('copayApp.services')
|
|||
|
||||
|
||||
root.isFocusedWallet = function(wid) {
|
||||
return wid === $rootScope.wallet.getId();
|
||||
return $rootScope.wallet && wid === $rootScope.wallet.getId();
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue