Migrate backups manager

This commit is contained in:
advplyr 2023-07-08 14:40:49 -05:00
parent 0a179e4eed
commit 254ba1f089
8 changed files with 202 additions and 107 deletions

View file

@ -95,8 +95,9 @@ export default {
})
.catch((error) => {
this.isBackingUp = false
console.error('Failed', error)
this.$toast.error(this.$strings.ToastBackupRestoreFailed)
console.error('Failed to apply backup', error)
const errorMsg = error.response.data || this.$strings.ToastBackupRestoreFailed
this.$toast.error(errorMsg)
})
},
deleteBackupClick(backup) {