Show balance of addresses. Remove filter noFractionNumber.
This commit is contained in:
parent
01b678457d
commit
cd33523b3f
3 changed files with 5 additions and 5 deletions
|
|
@ -44,7 +44,7 @@ angular.module('copayApp.controllers').controller('ReceiveController',
|
|||
|
||||
$scope.setAddressList = function() {
|
||||
var w = $rootScope.wallet;
|
||||
var balance = $rootScope.balanceByAddr;
|
||||
var balance = w.balanceInfo.balanceByAddr;
|
||||
|
||||
var addresses = w.getAddressesOrderer();
|
||||
if (addresses) {
|
||||
|
|
@ -58,7 +58,7 @@ angular.module('copayApp.controllers').controller('ReceiveController',
|
|||
list.push({
|
||||
'index': index,
|
||||
'address': address,
|
||||
'balance': balance ? balance[address] : 0,
|
||||
'balance': balance ? balance[address] : null,
|
||||
'isChange': w.addressIsChange(address),
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.services')
|
||||
.factory('pendingTxsService', function($rootScope, $sce, $location, $filter, notification, $timeout, rateService) {
|
||||
.factory('pendingTxsService', function($rootScope) {
|
||||
var root = {};
|
||||
root.update = function(w) {
|
||||
var w = $rootScope.wallet;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue