fix(dashboard): suppress empty state flash while workloads are loading

The "No Proxmox VE nodes configured" message showed briefly on the
Workloads page because the empty-state guard didn't wait for the
workloads REST fetch to complete before deciding there were no guests.
This commit is contained in:
rcourtman
2026-02-16 22:21:24 +00:00
parent eff7137aac
commit 2dc9397eba

View File

@@ -1202,6 +1202,7 @@ export function Dashboard(props: DashboardProps) {
when={
connected() &&
initialDataReceived() &&
!workloads.loading() &&
props.nodes.length === 0 &&
allGuests().length === 0
}