adding setting to allow users to customize between binary vs SI/Metric units in UI.

fixes #330
This commit is contained in:
Jason Kulatunga
2022-07-30 08:50:23 -07:00
parent ce2f990eb1
commit 3f272b36d4
12 changed files with 100 additions and 81 deletions
@@ -107,7 +107,7 @@
<div class="text-secondary text-md">Firmware Version</div>
</div>
<div class="my-2 col-span-2 lt-md:col-span-1">
<div>{{device?.capacity | fileSize}}</div>
<div>{{device?.capacity | fileSize:config.file_size_si_units}}</div>
<div class="text-secondary text-md">Capacity</div>
</div>
<div *ngIf="device?.rotational_speed" class="my-2 col-span-2 lt-md:col-span-1">