Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

bugfix: remove productivity #315

Merged
merged 5 commits into from
May 1, 2019
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions src/pages/delegates/delegate-detail/delegate-detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,6 @@ <h5>
</h5>
</ion-label>
</ion-col>
<ion-col>
<ion-label stacked>
<p>{{ 'DELEGATES_PAGE.UPTIME' | translate }}</p>
<h5>
{{ (delegate?.productivity).toFixed(2) }}%
</h5>
</ion-label>
</ion-col>
</ion-row>
</ion-toolbar>
</ion-col>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/delegates/delegates.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<span class="username">{{ delegate?.username }}</span>
<ion-badge item-end *ngIf="isSameDelegate(delegate?.publicKey)" color="danger">{{ 'DELEGATES_PAGE.VOTED' | translate | lowercase }}</ion-badge>
</ion-col>
<ion-col col-2 text-center><span class="percentage">{{ (delegate?.productivity).toFixed(2) }}%</span></ion-col>
<ion-col col-2 text-center><span class="percentage">{{ (delegate?.approval).toFixed(2) }}%</span></ion-col>
</ion-row>
</ion-grid>
</ion-item>
Expand All @@ -60,7 +60,7 @@
<span class="username">{{ delegate?.username }}</span>
<ion-badge item-end *ngIf="isSameDelegate(delegate?.publicKey)" color="danger">{{ 'DELEGATES_PAGE.VOTED' | translate | lowercase }}</ion-badge>
</ion-col>
<ion-col col-2 text-center><span class="percentage">{{ (delegate?.productivity).toFixed(2) }}%</span></ion-col>
<ion-col col-2 text-center><span class="percentage">{{ (delegate?.approval).toFixed(2) }}%</span></ion-col>
</ion-row>
</ion-grid>
</ion-item>
Expand Down