retrieving label from address book
This commit is contained in:
parent
6e2ade54bc
commit
b6f5b342f2
3 changed files with 54 additions and 11 deletions
|
|
@ -82,16 +82,7 @@ angular.module('copayApp.controllers').controller('SendController',
|
|||
}
|
||||
|
||||
$scope.showAddressBook = function() {
|
||||
var flag;
|
||||
if (w) {
|
||||
for (var k in w.addressBook) {
|
||||
if (w.addressBook[k]) {
|
||||
flag = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return flag;
|
||||
return w && _.keys(w.addressBook).length > 0;
|
||||
};
|
||||
|
||||
if ($rootScope.pendingPayment) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue