Fix: collection mark as read #178

This commit is contained in:
advplyr 2021-11-09 16:55:50 -06:00
parent fa8d02c729
commit 3eb0dc9ac3

View File

@ -143,7 +143,7 @@ export default {
.$patch(`/api/user/audiobook/${this.book.id}`, updatePayload) .$patch(`/api/user/audiobook/${this.book.id}`, updatePayload)
.then(() => { .then(() => {
this.isProcessingReadUpdate = false this.isProcessingReadUpdate = false
this.$toast.success(`"${this.title}" Marked as ${updatePayload.isRead ? 'Read' : 'Not Read'}`) this.$toast.success(`"${this.bookTitle}" Marked as ${updatePayload.isRead ? 'Read' : 'Not Read'}`)
}) })
.catch((error) => { .catch((error) => {
console.error('Failed', error) console.error('Failed', error)