mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-17 10:46:16 +01:00
update SystemInfo ts type
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user