Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Gate backups spinner on initial payload only

rcourtman9603c48ad59a
diff --git a/frontend-modern/src/components/Backups/UnifiedBackups.tsx b/frontend-modern/src/components/Backups/UnifiedBackups.tsx
index fed7fb2244..1bbfd14678 100644
--- a/frontend-modern/src/components/Backups/UnifiedBackups.tsx
+++ b/frontend-modern/src/components/Backups/UnifiedBackups.tsx
@@ -163,27 +163,7 @@ const UnifiedBackups: Component = () => {
};
// Check if we have any backup data yet
- const isLoading = createMemo(() => {
- const pve = pveBackupsState();
- const pbs = pbsBackupsState();
- const pmg = pmgBackupsState();
- const hasData =
- (pve?.guestSnapshots?.length ?? 0) > 0 ||
- (pve?.storageBackups?.length ?? 0) > 0 ||
- (pbs?.length ?? 0) > 0 ||
- (pmg?.length ?? 0) > 0;
- if (hasData) {
- return false;
- }
- if (!connected()) {
- return true;
- }
- if (!initialDataReceived()) {
- return true;
- }
- const hasLastUpdate = Boolean(state.lastUpdate);
- return !hasLastUpdate;
- });
+ const isLoading = createMemo(() => !connected() || !initialDataReceived());
// Normalize all backup data into unified format
const normalizedData = createMemo(() => {