Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Don't display more than 2 decimal places in weight overview

Roland Geider87d4b7c5080a
diff --git a/angular/src/app/weight/weight-detail/weight-detail.component.html b/angular/src/app/weight/weight-detail/weight-detail.component.html
index 5e91f1d05..09fd22a8c 100644
--- a/angular/src/app/weight/weight-detail/weight-detail.component.html
+++ b/angular/src/app/weight/weight-detail/weight-detail.component.html
@@ -10,7 +10,7 @@
<div class="col-3">
<div *ngIf="weightDiff !== null">
- {{weightDiff}}
+ {{weightDiff | number : '1.1-2' }}
</div>
</div>