We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e80b125 commit fc0f8eeCopy full SHA for fc0f8ee
resources/scripts/components/server/ServerDetailsBlock.tsx
@@ -51,7 +51,7 @@ const ServerDetailsBlock = () => {
51
const name = ServerContext.useStoreState(state => state.server.data!.name);
52
const limits = ServerContext.useStoreState(state => state.server.data!.limits);
53
const primaryAllocation = ServerContext.useStoreState(state => state.server.data!.allocations.filter(alloc => alloc.isDefault).map(
54
- allocation => allocation.alias + ':' + allocation.port || allocation.ip + ':' + allocation.port
+ allocation => (allocation.alias || allocation.ip) + ':' + allocation.port
55
)).toString();
56
57
const disklimit = limits.disk ? megabytesToHuman(limits.disk) : 'Unlimited';
0 commit comments