New addresses are now added at bottom of the list instead of at the top

This commit is contained in:
ssotomayor 2014-10-29 14:52:13 -03:00
commit 5c158a65e1
3 changed files with 4 additions and 3 deletions

View file

@ -83,6 +83,7 @@ angular.module('copayApp.controllers').controller('AddressesController',
for (var i = 0; i < addrInfos.length; i++) {
var addrinfo = addrInfos[i];
$scope.addresses.push({
'index': i,
'address': addrinfo.addressStr,
'balance': $rootScope.balanceByAddr ? $rootScope.balanceByAddr[addrinfo.addressStr] : 0,
'isChange': addrinfo.isChange,