mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-30 06:39:37 +02:00
Fix epub ereader theme sticking for other ebook formats
This commit is contained in:
parent
a96869f547
commit
a8bc1df3e7
2 changed files with 7 additions and 2 deletions
|
@ -69,7 +69,7 @@ export default {
|
|||
},
|
||||
/** @returns {Array<ePub.NavItem>} */
|
||||
chapters() {
|
||||
return this.book ? this.book.navigation.toc : []
|
||||
return this.book?.navigation?.toc || []
|
||||
},
|
||||
userMediaProgress() {
|
||||
if (!this.libraryItemId) return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue