Compare commits

..

No commits in common. "6844bea7be801d4073af9c1faf7f726d507770a2" and "14abc76fbc1e83add28adc25d222a11aca4025fa" have entirely different histories.

4 changed files with 4 additions and 16 deletions

View File

@ -191,19 +191,7 @@ export default function ServerDetailClient({
<section className="flex flex-col items-start gap-0.5">
<p className="text-xs text-muted-foreground">{t("CPU")}</p>
{data?.host.CPU ? (
<div className="text-xs"> {data?.host.CPU.join(", ")}</div>
) : (
<div className="text-xs">Unknown</div>
)}
</section>
</CardContent>
</Card>
<Card className="rounded-[10px] bg-transparent border-none shadow-none">
<CardContent className="px-1.5 py-1">
<section className="flex flex-col items-start gap-0.5">
<p className="text-xs text-muted-foreground">{"GPU"}</p>
{data?.host.GPU ? (
<div className="text-xs"> {data?.host.GPU.join(", ")}</div>
<div className="text-xs"> {data?.host.CPU}</div>
) : (
<div className="text-xs">Unknown</div>
)}

View File

@ -35,7 +35,7 @@ export interface NezhaAPIHost {
BootTime: number;
CountryCode: string;
Version: string;
GPU: string[];
GPU: null;
}
export interface NezhaAPIStatus {

BIN
bun.lockb

Binary file not shown.

View File

@ -1,6 +1,6 @@
{
"name": "nezha-dash",
"version": "1.6.3",
"version": "1.6.2-fix",
"private": true,
"scripts": {
"dev": "next dev -p 3040",
@ -26,7 +26,7 @@
"@types/d3-geo": "^3.1.0",
"@types/luxon": "^3.4.2",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"caniuse-lite": "^1.0.30001685",
"caniuse-lite": "^1.0.30001684",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"country-flag-icons": "^1.5.13",