diff --git a/resources/scripts/api/admin/servers/getServers.ts b/resources/scripts/api/admin/servers/getServers.ts index a3c0d9556..b06be0715 100644 --- a/resources/scripts/api/admin/servers/getServers.ts +++ b/resources/scripts/api/admin/servers/getServers.ts @@ -21,7 +21,7 @@ export interface Server { disk: number; io: number; cpu: number; - threads: string; + threads: string | null; } featureLimits: { diff --git a/resources/scripts/components/admin/servers/ServerSettingsContainer.tsx b/resources/scripts/components/admin/servers/ServerSettingsContainer.tsx index b79c8b008..cf387ecba 100644 --- a/resources/scripts/components/admin/servers/ServerSettingsContainer.tsx +++ b/resources/scripts/components/admin/servers/ServerSettingsContainer.tsx @@ -125,7 +125,7 @@ const ServerResourceContainer = () => { @@ -285,7 +285,7 @@ export default () => { disk: server.limits.disk, io: server.limits.io, cpu: server.limits.cpu, - threads: server.limits.threads, + threads: server.limits.threads || '', databases: server.featureLimits.databases, allocations: server.featureLimits.allocations,