diff --git a/src/components/forging/forging.js b/src/components/forging/forging.js index c0db761d7..68f4f7be7 100644 --- a/src/components/forging/forging.js +++ b/src/components/forging/forging.js @@ -47,10 +47,10 @@ app.component('forging', { this.delegate = this.account.get().delegate || {}; this.updateForgedBlocks(20, 0, true); - this.updateForgingStats('today', moment().set({ hour: 0, minute: 0, second: 0 })); this.updateForgingStats('last24h', moment().subtract(1, 'days')); this.updateForgingStats('last7d', moment().subtract(7, 'days')); this.updateForgingStats('last30d', moment().subtract(30, 'days')); + this.updateForgingStats('last365d', moment().subtract(365, 'days')); this.updateForgingStats('total', moment('2016-04-24 17:00')); } diff --git a/src/components/forging/forging.pug b/src/components/forging/forging.pug index 8d8c27218..fe50954ae 100644 --- a/src/components/forging/forging.pug +++ b/src/components/forging/forging.pug @@ -13,10 +13,6 @@ md-card.offline-hide span(md-position-mode='target-right target') span {{$ctrl.statistics.total | lsk | number:2 }} LSK Earned md-content(layout='column', layout-gt-xs='row') - md-card(flex-50, flex-gt-xs=25, layout-padding) - .info-panel.info-panel-grey - span.title Today - span.pull-right {{$ctrl.statistics.today | lsk | number:2 }} LSK md-card(flex-50, flex-gt-xs=25, layout-padding) .info-panel.info-panel-grey span.title Last 24 hours @@ -29,6 +25,10 @@ md-card.offline-hide .info-panel.info-panel-grey span.title {{'Last 30 days'}} span.pull-right {{$ctrl.statistics.last30d | lsk | number:2 }} LSK + md-card(flex-50, flex-gt-xs=25, layout-padding) + .info-panel.info-panel-grey + span.title {{'Last 365 days'}} + span.pull-right {{$ctrl.statistics.last365d | lsk | number:2 }} LSK div(layout='column', layout-gt-xs='row') md-card(flex-gt-xs=33, layout-align='center center', layout-padding) div Rank