mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-14 08:42:46 +02:00
Replace failed to update toasts with one generic string
This commit is contained in:
@@ -290,7 +290,7 @@ export default {
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error('Failed to update prefixes', error)
|
||||
this.$toast.error(this.$strings.ToastSortingPrefixesUpdateFailed)
|
||||
this.$toast.error(this.$strings.ToastFailedToUpdate)
|
||||
})
|
||||
.finally(() => {
|
||||
this.savingPrefixes = false
|
||||
@@ -338,7 +338,7 @@ export default {
|
||||
.catch((error) => {
|
||||
console.error('Failed to update server settings', error)
|
||||
this.updatingServerSettings = false
|
||||
this.$toast.error(this.$strings.ToastServerSettingsUpdateFailed)
|
||||
this.$toast.error(this.$strings.ToastFailedToUpdate)
|
||||
})
|
||||
},
|
||||
initServerSettings() {
|
||||
|
||||
Reference in New Issue
Block a user