From 66cc9bb750bcbf0fd259d352c998bc44f0437e1a Mon Sep 17 00:00:00 2001 From: mrv777 Date: Sun, 29 Sep 2024 09:19:46 -0500 Subject: [PATCH] fix: Format shares number --- .../axe-os/src/app/components/home/home.component.html | 4 ++-- .../axe-os/src/app/components/swarm/swarm.component.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main/http_server/axe-os/src/app/components/home/home.component.html b/main/http_server/axe-os/src/app/components/home/home.component.html index f536bada..f043d07c 100644 --- a/main/http_server/axe-os/src/app/components/home/home.component.html +++ b/main/http_server/axe-os/src/app/components/home/home.component.html @@ -37,14 +37,14 @@

Loading...

Shares -
{{info.sharesAccepted}}
+
{{info.sharesAccepted | number: '1.0-0'}}
- {{info.sharesRejected}} + {{info.sharesRejected | number: '1.0-0'}} rejected diff --git a/main/http_server/axe-os/src/app/components/swarm/swarm.component.html b/main/http_server/axe-os/src/app/components/swarm/swarm.component.html index 6daa7641..e8973c21 100644 --- a/main/http_server/axe-os/src/app/components/swarm/swarm.component.html +++ b/main/http_server/axe-os/src/app/components/swarm/swarm.component.html @@ -36,7 +36,7 @@ {{axe.ip}} {{axe.hashRate * 1000000000 | hashSuffix}} {{axe.uptimeSeconds | dateAgo}} - {{axe.sharesAccepted}} + {{axe.sharesAccepted | number: '1.0-0'}} {{axe.power | number: '1.2-2'}} W {{axe.temp}}°C {{axe.bestDiff}}