You've already forked AstralRinth
forked from didirus/AstralRinth
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:
committed by
GitHub
parent
3fd6ce1b6d
commit
14d227a1a3
@@ -87,7 +87,7 @@ const restoreBackup = () => {
|
||||
restoreMutation.mutate(currentBackup.value.id, {
|
||||
onSuccess: () => {
|
||||
// Optimistically update backupsState to show restore in progress immediately
|
||||
ctx.backupsState.set(currentBackup.value!.physical_id ?? currentBackup.value!.id, {
|
||||
ctx.backupsState.set(currentBackup.value!.id, {
|
||||
restore: { progress: 0, state: 'ongoing' },
|
||||
})
|
||||
modal.value?.hide()
|
||||
|
||||
Reference in New Issue
Block a user