show derivation path and created on date for addresses with balance
This commit is contained in:
parent
f274889e88
commit
49836bf329
2 changed files with 12 additions and 1 deletions
|
|
@ -47,6 +47,14 @@ angular.module('copayApp.controllers').controller('addressesController', functio
|
|||
processPaths(withBalance);
|
||||
|
||||
$scope.latestUnused = lodash.slice($scope.noBalance, 0, UNUSED_ADDRESS_LIMIT);
|
||||
|
||||
var withBalanceDict = lodash.indexBy(withBalance, 'address');
|
||||
lodash.each(allAddresses, function(a) {
|
||||
if(withBalanceDict[a.address]) {
|
||||
withBalanceDict[a.address].createdOn = a.createdOn;
|
||||
}
|
||||
});
|
||||
|
||||
$scope.latestWithBalance = lodash.slice(withBalance, 0, BALANCE_ADDRESS_LIMIT);
|
||||
|
||||
lodash.each(withBalance, function(a) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue