Fix error log when refresh view from walletDetails
This commit is contained in:
parent
414c5114bb
commit
4ac070d29e
1 changed files with 1 additions and 0 deletions
|
|
@ -340,6 +340,7 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
|
||||||
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
||||||
$scope.walletId = data.stateParams.walletId;
|
$scope.walletId = data.stateParams.walletId;
|
||||||
$scope.wallet = profileService.getWallet($scope.walletId);
|
$scope.wallet = profileService.getWallet($scope.walletId);
|
||||||
|
if (!$scope.wallet) return;
|
||||||
$scope.requiresMultipleSignatures = $scope.wallet.credentials.m > 1;
|
$scope.requiresMultipleSignatures = $scope.wallet.credentials.m > 1;
|
||||||
|
|
||||||
addressbookService.list(function(err, ab) {
|
addressbookService.list(function(err, ab) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue