Stop backup page spinner after first state update
This commit is contained in:
parent
e375a21d4b
commit
3c1f4c20ae
1 changed files with 2 additions and 2 deletions
|
|
@ -175,8 +175,8 @@ const UnifiedBackups: Component = () => {
|
||||||
if (hasData) {
|
if (hasData) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
const pollingCycles = state.stats?.pollingCycles ?? 0;
|
const lastUpdate = state.lastUpdate;
|
||||||
return pollingCycles === 0;
|
return !lastUpdate;
|
||||||
});
|
});
|
||||||
|
|
||||||
// Normalize all backup data into unified format
|
// Normalize all backup data into unified format
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue