Update: ereader toasts

This commit is contained in:
Nicholas Wallace 2024-08-28 21:05:59 -07:00
parent 1d0b824181
commit 9f525309d9
3 changed files with 16 additions and 10 deletions

View file

@ -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