diff --git a/src/js/services/storageService.js b/src/js/services/storageService.js index 9a9e6d31e..5f78725a3 100644 --- a/src/js/services/storageService.js +++ b/src/js/services/storageService.js @@ -391,12 +391,12 @@ angular.module('copayApp.services') var allCards = []; - lodash.each(allAccounts, function(account) { + lodash.each(allAccounts, function(account, email) { + // Add account's email to card list, for convenience var cards = lodash.clone(account.cards); - - lodash.each(allAccounts, function(x) { - x.email = account.email; + lodash.each(cards, function(x) { + x.email = email; }); allCards = allCards.concat(cards); diff --git a/www/views/tab-home.html b/www/views/tab-home.html index 8ec616673..c750802b1 100644 --- a/www/views/tab-home.html +++ b/www/views/tab-home.html @@ -90,7 +90,7 @@ Incomplete - {{wallet.status.totalBalanceStr ? wallet.status.totalBalanceStr : ( wallet.cachedBalance ? wallet.cachedBalance + (wallet.cachedBalanceUpdatedOn ? ' | ' + ( wallet.cachedBalanceUpdatedOn * 1000 | amTimeAgo) : '') : '' ) }} + {{wallet.status.totalBalanceStr ? wallet.status.totalBalanceStr : ( wallet.cachedBalance ? wallet.cachedBalance + (wallet.cachedBalanceUpdatedOn ? ' · ' + ( wallet.cachedBalanceUpdatedOn * 1000 | amTimeAgo) : '') : '' ) }} [Balance Hidden]