mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-18 07:56:57 +00:00
Change N/A to - in Server view
This commit is contained in:
parent
cd8379407a
commit
577a577350
@ -427,13 +427,13 @@ export default function ServerDetail() {
|
|||||||
<h3 className="text-sm font-medium">Hardware</h3>
|
<h3 className="text-sm font-medium">Hardware</h3>
|
||||||
<div className="grid grid-cols-[120px_1fr] text-sm gap-1">
|
<div className="grid grid-cols-[120px_1fr] text-sm gap-1">
|
||||||
<div className="text-muted-foreground">CPU:</div>
|
<div className="text-muted-foreground">CPU:</div>
|
||||||
<div>{server.cpu || "N/A"}</div>
|
<div>{server.cpu || "-"}</div>
|
||||||
<div className="text-muted-foreground">GPU:</div>
|
<div className="text-muted-foreground">GPU:</div>
|
||||||
<div>{server.gpu || "N/A"}</div>
|
<div>{server.gpu || "-"}</div>
|
||||||
<div className="text-muted-foreground">RAM:</div>
|
<div className="text-muted-foreground">RAM:</div>
|
||||||
<div>{server.ram || "N/A"}</div>
|
<div>{server.ram || "-"}</div>
|
||||||
<div className="text-muted-foreground">Disk:</div>
|
<div className="text-muted-foreground">Disk:</div>
|
||||||
<div>{server.disk || "N/A"}</div>
|
<div>{server.disk || "-"}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -441,7 +441,7 @@ export default function ServerDetail() {
|
|||||||
<h3 className="text-sm font-medium">Network</h3>
|
<h3 className="text-sm font-medium">Network</h3>
|
||||||
<div className="grid grid-cols-[120px_1fr] text-sm gap-1">
|
<div className="grid grid-cols-[120px_1fr] text-sm gap-1">
|
||||||
<div className="text-muted-foreground">IP Address:</div>
|
<div className="text-muted-foreground">IP Address:</div>
|
||||||
<div>{server.ip || "N/A"}</div>
|
<div>{server.ip || "-"}</div>
|
||||||
<div className="text-muted-foreground">Management URL:</div>
|
<div className="text-muted-foreground">Management URL:</div>
|
||||||
<div>
|
<div>
|
||||||
{server.url ? (
|
{server.url ? (
|
||||||
@ -449,7 +449,7 @@ export default function ServerDetail() {
|
|||||||
{server.url} <Link className="h-3 w-3" />
|
{server.url} <Link className="h-3 w-3" />
|
||||||
</a>
|
</a>
|
||||||
) : (
|
) : (
|
||||||
"N/A"
|
"-"
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user