mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 17:14:50 +00:00
Revert "Use backup physical_id for progress updates matching" (#5060)
* Revert "Use backup physical_id for progress updates matching"
This reverts commit de2f6275b9.
* Fix page crash on backups page reload
This commit is contained in:
@@ -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