mirror of
https://github.com/linuxserver/Heimdall-Apps.git
synced 2026-02-20 04:16:08 +08:00
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.