mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-11 11:51:36 +00:00
Change: failed to share toasts
This commit is contained in:
parent
da1b60a1c6
commit
71c0b2bca3
4 changed files with 6 additions and 5 deletions
|
|
@ -261,7 +261,7 @@ export default {
|
|||
.catch((error) => {
|
||||
console.error('Failed to share', error)
|
||||
if (error.name !== 'AbortError') {
|
||||
this.$toast.error('Failed to share: ' + error.message)
|
||||
this.$toast.error(this.$strings.ToastFailedToShare + ': ' + error.message)
|
||||
}
|
||||
})
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -237,7 +237,7 @@ export default {
|
|||
.catch((error) => {
|
||||
console.error('Failed to share', error)
|
||||
if (error.name !== 'AbortError') {
|
||||
this.$toast.error('Failed to share: ' + error.message)
|
||||
this.$toast.error(this.$strings.ToastFailedToShare + ': ' + error.message)
|
||||
}
|
||||
})
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -167,7 +167,7 @@ export default {
|
|||
.catch((error) => {
|
||||
console.error('Failed to share', error)
|
||||
if (error.name !== 'AbortError') {
|
||||
this.$toast.error('Failed to share: ' + error.message)
|
||||
this.$toast.error(this.$strings.ToastFailedToShare + ': ' + error.message)
|
||||
}
|
||||
})
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue