commit
f56ff4c833
27 changed files with 336 additions and 334 deletions
|
|
@ -11,6 +11,12 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
return (parseFloat(number.toPrecision(12)));
|
||||
};
|
||||
|
||||
|
||||
self.goHome = function() {
|
||||
go.walletHome();
|
||||
};
|
||||
|
||||
|
||||
self.menu = [{
|
||||
'title': gettext('Home'),
|
||||
'icon': 'icon-home',
|
||||
|
|
@ -326,6 +332,9 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
self.txHistoryPaging = txs[self.limitHistory] ? true : false;
|
||||
lodash.each(txs, function(tx) {
|
||||
tx.ts = tx.minedTs || tx.sentTs;
|
||||
// no future transaction...
|
||||
if (tx.ts > now)
|
||||
ts.ts = now;
|
||||
tx.rateTs = Math.floor((tx.ts || now) / 1000);
|
||||
tx.amountStr = profileService.formatAmount(tx.amount); //$filter('noFractionNumber')(
|
||||
if (c < self.limitHistory) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue