diff --git a/resources/scripts/components/dashboard/ServerRow.tsx b/resources/scripts/components/dashboard/ServerRow.tsx index 27854e539..c4c557ccb 100644 --- a/resources/scripts/components/dashboard/ServerRow.tsx +++ b/resources/scripts/components/dashboard/ServerRow.tsx @@ -93,36 +93,38 @@ export default ({ server, className }: { server: Server; className?: string }) = {server.allocations .filter((alloc) => alloc.isDefault) .map((allocation) => ( - + {allocation.alias || ip(allocation.ip)}:{allocation.port} ))}

- {!stats || isSuspended ? ( - isSuspended ? ( -
- - {server.status === 'suspended' ? 'Suspended' : 'Connection Error'} - -
- ) : server.isTransferring || server.status ? ( -
- - {server.isTransferring - ? 'Transferring' - : server.status === 'installing' - ? 'Installing' - : server.status === 'restoring_backup' - ? 'Restoring Backup' - : 'Unavailable'} - -
- ) : ( - - ) - ) : null} +
+ {!stats || isSuspended ? ( + isSuspended ? ( +
+ + {server.status === 'suspended' ? 'Suspended' : 'Connection Error'} + +
+ ) : server.isTransferring || server.status ? ( +
+ + {server.isTransferring + ? 'Transferring' + : server.status === 'installing' + ? 'Installing' + : server.status === 'restoring_backup' + ? 'Restoring Backup' + : 'Unavailable'} + +
+ ) : ( + + ) + ) : null} +
{stats && (