Simplify: "renameFail" and "removeFail" toasts

This commit is contained in:
Nicholas Wallace 2024-08-30 10:13:50 -07:00
parent 71c0b2bca3
commit 9311fd10bc
12 changed files with 19 additions and 23 deletions

View file

@ -138,7 +138,7 @@ export default {
})
.catch((error) => {
console.error('Failed to remove narrator', error)
this.$toast.error('Failed to remove narrator')
this.$toast.error(this.$strings.ToastRemoveFailed)
this.loading = false
})
},
@ -158,4 +158,4 @@ export default {
},
beforeDestroy() {}
}
</script>
</script>