From ac997cd7a663c1c7d19c1ca749e4052fac49ced3 Mon Sep 17 00:00:00 2001 From: Boy132 Date: Tue, 28 Jun 2022 00:30:21 +0200 Subject: [PATCH] fix: use correct network stat (#4175) --- .../components/server/console/ServerDetailsBlock.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/scripts/components/server/console/ServerDetailsBlock.tsx b/resources/scripts/components/server/console/ServerDetailsBlock.tsx index 37a8cf9be..969585980 100644 --- a/resources/scripts/components/server/console/ServerDetailsBlock.tsx +++ b/resources/scripts/components/server/console/ServerDetailsBlock.tsx @@ -121,9 +121,9 @@ const ServerDetailsBlock = ({ className }: { className?: string }) => { - {status === 'offline' ? Offline : bytesToString(stats.tx)} + {status === 'offline' ? Offline : bytesToString(stats.rx)} { 'The total amount of traffic your server has sent across the internet since it was started.' } > - {status === 'offline' ? Offline : bytesToString(stats.rx)} + {status === 'offline' ? Offline : bytesToString(stats.tx)} );