mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-28 09:38:56 +01:00
Fix: collection mark as read #178
This commit is contained in:
parent
fa8d02c729
commit
3eb0dc9ac3
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user