Fix mobile ereader for new data model

This commit is contained in:
advplyr 2022-04-16 06:10:10 -05:00
parent 066050700c
commit 6cea0ba03d
5 changed files with 60 additions and 45 deletions

View file

@ -215,7 +215,7 @@ export default {
return !this.isMissing && !this.isIncomplete && this.numTracks
},
showRead() {
return this.ebookFile && this.ebookFormat !== '.pdf'
return this.ebookFile && this.ebookFormat !== 'pdf'
},
ebookFile() {
return this.media.ebookFile