fix sidebar when there are no wallets
This commit is contained in:
parent
0ae93cefb9
commit
661deca9b0
1 changed files with 2 additions and 0 deletions
|
|
@ -36,6 +36,8 @@ angular.module('copayApp.controllers').controller('SidebarController', function(
|
||||||
|
|
||||||
$scope.refresh = function() {
|
$scope.refresh = function() {
|
||||||
var w = $rootScope.wallet;
|
var w = $rootScope.wallet;
|
||||||
|
if (!w) return;
|
||||||
|
|
||||||
if (w.isReady()) {
|
if (w.isReady()) {
|
||||||
w.sendWalletReady();
|
w.sendWalletReady();
|
||||||
if ($rootScope.addrInfos.length > 0) {
|
if ($rootScope.addrInfos.length > 0) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue