Add recent series and authors bookshelf rows on home

This commit is contained in:
advplyr committed 2022-03-27 16:16:08 -05:00
1 parent 58dfa65660
commit c0ff28ffff
5 files changed
+95 -35

No files matched your search

+5
View File
@@ -125,6 +125,11 @@ class BookMetadata {
hasNarrator(narratorName) {
return this.narrators.includes(narratorName)
}
getSeriesSequence(seriesId) {
var series = this.series.find(se => se.id == seriesId)
if (!series) return null
return series.sequence || ''
}
update(payload) {
var json = this.toJSON()