From f5a32a57a87d7eed4dcfc83d1c64d8897bc5de61 Mon Sep 17 00:00:00 2001 From: Javier Date: Wed, 8 Jun 2016 09:40:29 -0300 Subject: [PATCH] fix addressbook error --- src/js/controllers/modals/addressbook.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/controllers/modals/addressbook.js b/src/js/controllers/modals/addressbook.js index a384eff1e..d54cfd2b5 100644 --- a/src/js/controllers/modals/addressbook.js +++ b/src/js/controllers/modals/addressbook.js @@ -1,6 +1,6 @@ '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 fc = profileService.focusedClient; @@ -119,7 +119,7 @@ angular.module('copayApp.controllers').controller('addressbookController', funct $scope.errorSelectedWallet = {}; profileService.isReady(client, function(err) { - if (err) $scope.errorSelectedWallet[walletId] = err; + if (err) $scope.errorSelectedWallet[walletId] = bwsError.msg(err); else { $scope.gettingAddress = true; $scope.selectedWalletName = walletName;