From 2c3f197f63150ad50e160c594a8266770df8a5b5 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Tue, 18 Nov 2025 16:43:02 +0000 Subject: [PATCH] Gate backups spinner on initial payload only --- .../src/components/Backups/UnifiedBackups.tsx | 22 +------------------ 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/frontend-modern/src/components/Backups/UnifiedBackups.tsx b/frontend-modern/src/components/Backups/UnifiedBackups.tsx index fed7fb2..1bbfd14 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(() => {