From fca7a02b7a5c7a69a3db0f122e1d3254f2223955 Mon Sep 17 00:00:00 2001 From: belopash Date: Fri, 10 May 2024 15:07:51 +0500 Subject: [PATCH] feat: hide uptime graph --- src/pages/WorkersPage/WorkerStatistics.tsx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/pages/WorkersPage/WorkerStatistics.tsx b/src/pages/WorkersPage/WorkerStatistics.tsx index 9c0f5df..7467e5d 100644 --- a/src/pages/WorkersPage/WorkerStatistics.tsx +++ b/src/pages/WorkersPage/WorkerStatistics.tsx @@ -93,7 +93,7 @@ export const WorkerStatistics = ({ worker }: { worker: BlockchainApiFullWorker } - + {/* */} {/**/} @@ -105,14 +105,20 @@ export const WorkerStatistics = ({ worker }: { worker: BlockchainApiFullWorker } {/* */} {/**/} - Queries, last 24 hours / last 90 days + Uptime, 24 hours / 90 days + + {percentFormatter(worker.uptime24Hours)} / {percentFormatter(worker.uptime90Days)} + + + + Queries, 24 hours / 90 days {numberWithSpacesFormatter(worker.queries24Hours)} /{' '} {numberWithSpacesFormatter(worker.queries90Days)} - Data served, last 24 hours / last 90 days + Data served, 24 hours / 90 days {bytesFormatter(worker.servedData24Hours)} / {bytesFormatter(worker.servedData90Days)}