Jay Collett 7cc733673e Fix inactive status passing empty array to view template
The livestats.blade.php view requires variables like $vm_running,
$cpu_percent, etc. When returning "inactive" status, we were passing
an empty array which caused undefined variable errors.

Now passing $inactiveData with default zero values so the view
renders properly even when the API is unreachable or returns no data.
2026-02-02 14:45:47 +01:00
..
2022-03-28 22:39:32 +01:00