mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-24 08:35:26 +02:00
getSwarmNodes was changed to return [] on error, but the existing SwarmMonitorCard checks `if (!nodes)` to detect failures. Since ![] is false, the error state was silently skipped, breaking the Overview tab for users without Docker Swarm initialized. Reverted to return undefined on error (original behavior) so the existing Overview tab error handling continues to work. The Containers tab already handles nodes === undefined explicitly.