Skip to content

Commit

Permalink
fix(dashboard): Only use k transform pipe for accuracy display
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuNls committed Nov 3, 2016
1 parent d90daa6 commit 0ed640e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import {
ArethmeticSign,
KFormatter,
LeadingZero,
Decimal,
TwAPIService,
GAService,
ClockComponent,
Expand Down Expand Up @@ -53,7 +52,6 @@ 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 | decimal | arethmeticSign | kFormatter}}
{{ watch.lastCompleteMeasure().accuracy | arethmeticSign | kFormatter}}
<span id="spd">{{'spd-short' | translate }}
</span>
</span>
Expand Down
2 changes: 1 addition & 1 deletion src/share
Submodule share updated from c75004 to 4e5336

0 comments on commit 0ed640e

Please sign in to comment.