show balance string in send tab
This commit is contained in:
parent
2c86b47c20
commit
160c3cec44
2 changed files with 10 additions and 1 deletions
|
|
@ -78,6 +78,7 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
|
|||
recipientType: 'wallet',
|
||||
coin: v.coin,
|
||||
network: v.network,
|
||||
balanceString: v.cachedBalance,
|
||||
getAddress: function(cb) {
|
||||
walletService.getAddress(v, false, cb);
|
||||
},
|
||||
|
|
@ -104,12 +105,14 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
|
|||
|
||||
var completeContacts = [];
|
||||
lodash.each(ab, function(v, k) {
|
||||
var c = getCoin(k);
|
||||
completeContacts.push({
|
||||
name: lodash.isObject(v) ? v.name : v,
|
||||
address: k,
|
||||
email: lodash.isObject(v) ? v.email : null,
|
||||
recipientType: 'contact',
|
||||
coin: getCoin(k),
|
||||
coin: c,
|
||||
displayCoin: c.toUpperCase(),
|
||||
getAddress: function(cb) {
|
||||
return cb(null, k);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue