mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-18 14:48:29 +01:00
Add recent series and authors bookshelf rows on home
This commit is contained in:
1 parent
58dfa65660
commit
c0ff28ffff
5 files changed
+95
-35
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user