Skip to content

Commit ac997cd

Browse files
authored
fix: use correct network stat (pterodactyl#4175)
1 parent 63cf6ee commit ac997cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

resources/scripts/components/server/console/ServerDetailsBlock.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ const ServerDetailsBlock = ({ className }: { className?: string }) => {
121121
<StatBlock
122122
icon={faCloudDownloadAlt}
123123
title={'Network (Inbound)'}
124-
description={'The total amount of network traffic that your server has recieved since it was started.'}
124+
description={'The total amount of network traffic that your server has received since it was started.'}
125125
>
126-
{status === 'offline' ? <span className={'text-gray-400'}>Offline</span> : bytesToString(stats.tx)}
126+
{status === 'offline' ? <span className={'text-gray-400'}>Offline</span> : bytesToString(stats.rx)}
127127
</StatBlock>
128128
<StatBlock
129129
icon={faCloudUploadAlt}
@@ -132,7 +132,7 @@ const ServerDetailsBlock = ({ className }: { className?: string }) => {
132132
'The total amount of traffic your server has sent across the internet since it was started.'
133133
}
134134
>
135-
{status === 'offline' ? <span className={'text-gray-400'}>Offline</span> : bytesToString(stats.rx)}
135+
{status === 'offline' ? <span className={'text-gray-400'}>Offline</span> : bytesToString(stats.tx)}
136136
</StatBlock>
137137
</div>
138138
);

0 commit comments

Comments
 (0)