mirror of https://github.com/BTCPrivate/copay.git
Fix no-wallet home
This commit is contained in:
parent
2b49ebd33d
commit
2571935fab
|
@ -681,7 +681,6 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
});
|
});
|
||||||
|
|
||||||
var fc = profileService.focusedClient;
|
var fc = profileService.focusedClient;
|
||||||
if (!fc) return;
|
|
||||||
// ToDo: use a credential's (or fc's) function for this
|
// ToDo: use a credential's (or fc's) function for this
|
||||||
this.hideNote = !fc.credentials.sharedEncryptingKey;
|
this.hideNote = !fc.credentials.sharedEncryptingKey;
|
||||||
};
|
};
|
||||||
|
@ -1146,6 +1145,8 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
/* Start setup */
|
/* Start setup */
|
||||||
|
|
||||||
this.bindTouchDown();
|
this.bindTouchDown();
|
||||||
this.setAddress();
|
if (profileService.focusedClient) {
|
||||||
this.setSendFormInputs();
|
this.setAddress();
|
||||||
|
this.setSendFormInputs();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue