diff --git a/AppImage/components/virtual-machines.tsx b/AppImage/components/virtual-machines.tsx index a9ab13e..1ad5ee5 100644 --- a/AppImage/components/virtual-machines.tsx +++ b/AppImage/components/virtual-machines.tsx @@ -226,6 +226,25 @@ export function VirtualMachines() { return `${days}d ${hours}h ${minutes}m` } + // Safe data handling with default empty array + const safeVMData = vmData || [] + + if (isLoading) { + return ( +
Virtual machines configured
@@ -256,7 +275,7 @@ export function VirtualMachines() {Allocated CPU usage
Allocated RAM