1
0

Revert "Use backup physical_id for progress updates matching" (#5060)

* Revert "Use backup physical_id for progress updates matching"

This reverts commit de2f6275b97376fb92497399eba848ae1ace7b01.

* Fix page crash on backups page reload
This commit is contained in:
François-Xavier Talbot
2026-01-07 17:28:57 -05:00
committed by GitHub
parent 3fd6ce1b6d
commit 14d227a1a3
6 changed files with 17 additions and 23 deletions

View File

@@ -790,7 +790,7 @@ const handleBackupProgress = (data: Archon.Websocket.v0.WSBackupProgressEvent) =
'list',
serverId,
])
const backup = backupData?.find((b) => (b.physical_id ?? b.id) === backupId)
const backup = backupData?.find((b) => b.id === backupId)
if (backup?.ongoing && attempt < 3) {
// retry 3 times max, archon is slow compared to ws state

View File

@@ -5,7 +5,7 @@ const { server, isServerRunning } = injectModrinthServerContext()
const flags = useFeatureFlags()
useHead({
title: `Backups - ${server.value.name ?? 'Server'} - Modrinth`,
title: `Backups - ${server.value?.name ?? 'Server'} - Modrinth`,
})
</script>