Update ServerRow.tsx

This commit is contained in:
Dane Everitt 2020-10-31 12:09:59 -07:00
parent 87a8238c56
commit 8eaa44411f
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -113,9 +113,9 @@ export default ({ server, className }: { server: Server; className?: string }) =
{(!stats || isSuspended) ?
isSuspended ?
<div css={tw`flex-1 text-center`}>
<span css={tw`bg-red-500 rounded px-2 py-1 text-red-100 text-xs`}>
{server.isSuspended ? 'Suspended' : 'Connection Error'}
</span>
<span css={tw`bg-red-500 rounded px-2 py-1 text-red-100 text-xs`}>
{server.isSuspended ? 'Suspended' : 'Connection Error'}
</span>
</div>
:
server.isInstalling ?