Stop backup page spinner after first state update

This commit is contained in:
rcourtman 2025-11-15 23:31:36 +00:00
parent e375a21d4b
commit 3c1f4c20ae

View file

@ -175,8 +175,8 @@ const UnifiedBackups: Component = () => {
if (hasData) {
return false;
}
const pollingCycles = state.stats?.pollingCycles ?? 0;
return pollingCycles === 0;
const lastUpdate = state.lastUpdate;
return !lastUpdate;
});
// Normalize all backup data into unified format