From fc0f8ee48eeb1b2dbf354e857dab1360a0400e28 Mon Sep 17 00:00:00 2001 From: Charles Morgan Date: Sun, 1 Nov 2020 02:55:29 -0500 Subject: [PATCH] Update ServerDetailsBlock.tsx --- resources/scripts/components/server/ServerDetailsBlock.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/scripts/components/server/ServerDetailsBlock.tsx b/resources/scripts/components/server/ServerDetailsBlock.tsx index cc33c493c..321c01943 100644 --- a/resources/scripts/components/server/ServerDetailsBlock.tsx +++ b/resources/scripts/components/server/ServerDetailsBlock.tsx @@ -51,7 +51,7 @@ const ServerDetailsBlock = () => { const name = ServerContext.useStoreState(state => state.server.data!.name); const limits = ServerContext.useStoreState(state => state.server.data!.limits); const primaryAllocation = ServerContext.useStoreState(state => state.server.data!.allocations.filter(alloc => alloc.isDefault).map( - allocation => allocation.alias + ':' + allocation.port || allocation.ip + ':' + allocation.port + allocation => (allocation.alias || allocation.ip) + ':' + allocation.port )).toString(); const disklimit = limits.disk ? megabytesToHuman(limits.disk) : 'Unlimited';