diff --git a/beszel/site/src/components/routes/system.tsx b/beszel/site/src/components/routes/system.tsx index 5d5e581..c70264d 100644 --- a/beszel/site/src/components/routes/system.tsx +++ b/beszel/site/src/components/routes/system.tsx @@ -205,7 +205,6 @@ export default function SystemDetail({ name }: { name: string }) { if (!system.info) { return [] } - console.log('doing') let uptime: number | string = system.info.u if (system.info.u < 172800) { uptime = `${Math.trunc(uptime / 3600)} hours` diff --git a/beszel/site/src/types.d.ts b/beszel/site/src/types.d.ts index 40f4ca7..e6bd035 100644 --- a/beszel/site/src/types.d.ts +++ b/beszel/site/src/types.d.ts @@ -13,7 +13,7 @@ export interface SystemInfo { /** hostname */ h: string /** kernel **/ - k: string + k?: string /** cpu percent */ cpu: number /** cpu threads */