Skip to content

Commit

Permalink
fix(dashboard): Remove decimals of number of 100
Browse files Browse the repository at this point in the history
Contributes to #69
  • Loading branch information
MathieuNls committed Nov 3, 2016
1 parent 93949c2 commit 8d95726
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import {
ArethmeticSign,
KFormatter,
LeadingZero,
Decimal,
TwAPIService,
GAService,
ClockComponent,
Expand Down Expand Up @@ -52,6 +53,7 @@ import { TranslateModule, TranslateStaticLoader, TranslateLoader } from 'ng2-tra
ArethmeticSign,
KFormatter,
LeadingZero,
Decimal,
ClockComponent,
MoonPhasesComponent,
LoginComponent,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/dashboard/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h3>{{ watch.name }}</h3>

<div id="accuracy">
<span *ngIf="watch.status !== WatchStatus.NeverMeasured && watch.lastCompleteMeasure() !== null">
{{ watch.lastCompleteMeasure().accuracy | arethmeticSign | kFormatter}}
{{ watch.lastCompleteMeasure().accuracy | decimal | arethmeticSign | kFormatter}}
<span id="spd">{{'spd-short' | translate }}
</span>
</span>
Expand Down
2 changes: 1 addition & 1 deletion src/share
Submodule share updated from 43188d to 3d5497

0 comments on commit 8d95726

Please sign in to comment.