Change: chapters remove toast

This commit is contained in:
Nicholas Wallace 2024-08-30 10:19:04 -07:00
parent 9b6a20aeca
commit f99e01984d
3 changed files with 5 additions and 3 deletions

View file

@ -611,7 +611,7 @@ export default {
.$post(`/api/items/${this.libraryItem.id}/chapters`, payload)
.then((data) => {
if (data.updated) {
this.$toast.success('Chapters removed')
this.$toast.success(this.$strings.ToastChaptersRemoved)
if (this.previousRoute) {
this.$router.push(this.previousRoute)
} else {