mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-11 20:01:38 +00:00
Update: ereader toasts
This commit is contained in:
parent
1d0b824181
commit
9f525309d9
3 changed files with 16 additions and 10 deletions
|
|
@ -329,8 +329,7 @@ export default {
|
|||
.then((data) => {
|
||||
this.processing = false
|
||||
if (data.error) {
|
||||
this.$toast.error(`Failed to create account: ${data.error}`)
|
||||
this.$toast.error(this.$strings.ToastNewUserCreatedFailed.replace('{0}', data.error))
|
||||
this.$toast.error(this.$strings.ToastNewUserCreatedFailed + ': ' + data.error)
|
||||
} else {
|
||||
this.$toast.success(this.$strings.ToastNewUserCreatedSuccess)
|
||||
this.show = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue