mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-13 02:45:02 +02:00
Add recent series and authors bookshelf rows on home
This commit is contained in:
parent
58dfa65660
commit
c0ff28ffff
5 changed files with 95 additions and 35 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue