Update virtual-machines.tsx

This commit is contained in:
MacRimi
2025-10-15 19:51:24 +02:00
parent 5cd37b74b4
commit a2fa7ec9c4

View File

@@ -521,6 +521,13 @@ export function VirtualMachines() {
</Badge>
<span className="font-semibold text-foreground">{vm.name}</span>
<span className="text-sm text-muted-foreground">ID: {vm.vmid}</span>
{lxcIP && (
<span
className={`text-sm hidden sm:inline ${lxcIP === "DHCP" ? "text-yellow-500" : "text-green-500"}`}
>
IP: {lxcIP}
</span>
)}
<span className="text-sm text-muted-foreground ml-auto hidden sm:inline">
Uptime: {formatUptime(vm.uptime)}
</span>