mirror of
https://github.com/Buriburizaem0n/nezha-dash-v1.git
synced 2026-02-04 12:40:10 +00:00
fix: show detail chart when server is offline
This commit is contained in:
@@ -68,12 +68,6 @@ export default function ServerDetailChart({ server_id }: { server_id: string })
|
||||
return <ServerDetailChartLoading />
|
||||
}
|
||||
|
||||
const { online } = formatNezhaInfo(nezhaWsData.now, server)
|
||||
|
||||
if (!online) {
|
||||
return <ServerDetailChartLoading />
|
||||
}
|
||||
|
||||
const gpuStats = server.state.gpu || []
|
||||
const gpuList = server.host.gpu || []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user