Update:Continue Reading and Read Again home page shelves for ebook only items #1782

This commit is contained in:
advplyr 2023-05-27 08:20:09 -05:00
parent 1da471e136
commit 3e4c94e2b4
16 changed files with 132 additions and 95 deletions

View file

@ -142,6 +142,9 @@ class Book {
get numTracks() {
return this.tracks.length
}
get isEBookOnly() {
return this.ebookFile && !this.numTracks
}
update(payload) {
const json = this.toJSON()