fix addressbook error
This commit is contained in:
parent
492c4c967f
commit
f5a32a57a8
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('copayApp.controllers').controller('addressbookController', function($rootScope, $scope, $timeout, profileService, addressService, addressbookService) {
|
angular.module('copayApp.controllers').controller('addressbookController', function($rootScope, $scope, $timeout, profileService, addressService, addressbookService, bwsError) {
|
||||||
var self = $scope.self;
|
var self = $scope.self;
|
||||||
|
|
||||||
var fc = profileService.focusedClient;
|
var fc = profileService.focusedClient;
|
||||||
|
|
@ -119,7 +119,7 @@ angular.module('copayApp.controllers').controller('addressbookController', funct
|
||||||
$scope.errorSelectedWallet = {};
|
$scope.errorSelectedWallet = {};
|
||||||
|
|
||||||
profileService.isReady(client, function(err) {
|
profileService.isReady(client, function(err) {
|
||||||
if (err) $scope.errorSelectedWallet[walletId] = err;
|
if (err) $scope.errorSelectedWallet[walletId] = bwsError.msg(err);
|
||||||
else {
|
else {
|
||||||
$scope.gettingAddress = true;
|
$scope.gettingAddress = true;
|
||||||
$scope.selectedWalletName = walletName;
|
$scope.selectedWalletName = walletName;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue