fix: use correct network stat (#4175)
This commit is contained in:
parent
63cf6ee96e
commit
ac997cd7a6
1 changed files with 3 additions and 3 deletions
|
@ -121,9 +121,9 @@ const ServerDetailsBlock = ({ className }: { className?: string }) => {
|
||||||
<StatBlock
|
<StatBlock
|
||||||
icon={faCloudDownloadAlt}
|
icon={faCloudDownloadAlt}
|
||||||
title={'Network (Inbound)'}
|
title={'Network (Inbound)'}
|
||||||
description={'The total amount of network traffic that your server has recieved since it was started.'}
|
description={'The total amount of network traffic that your server has received since it was started.'}
|
||||||
>
|
>
|
||||||
{status === 'offline' ? <span className={'text-gray-400'}>Offline</span> : bytesToString(stats.tx)}
|
{status === 'offline' ? <span className={'text-gray-400'}>Offline</span> : bytesToString(stats.rx)}
|
||||||
</StatBlock>
|
</StatBlock>
|
||||||
<StatBlock
|
<StatBlock
|
||||||
icon={faCloudUploadAlt}
|
icon={faCloudUploadAlt}
|
||||||
|
@ -132,7 +132,7 @@ const ServerDetailsBlock = ({ className }: { className?: string }) => {
|
||||||
'The total amount of traffic your server has sent across the internet since it was started.'
|
'The total amount of traffic your server has sent across the internet since it was started.'
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{status === 'offline' ? <span className={'text-gray-400'}>Offline</span> : bytesToString(stats.rx)}
|
{status === 'offline' ? <span className={'text-gray-400'}>Offline</span> : bytesToString(stats.tx)}
|
||||||
</StatBlock>
|
</StatBlock>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue