mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
Update server/objects/mediaTypes/Book.js
This commit is contained in:
parent
4770be5a39
commit
0203f9cc1b
@ -444,7 +444,7 @@ class Book {
|
|||||||
id: c.id + currChapterId,
|
id: c.id + currChapterId,
|
||||||
start: c.start + currStartTime,
|
start: c.start + currStartTime,
|
||||||
end: c.end + currStartTime,
|
end: c.end + currStartTime,
|
||||||
}))
|
})) ?? []
|
||||||
this.chapters = this.chapters.concat(chapters)
|
this.chapters = this.chapters.concat(chapters)
|
||||||
|
|
||||||
currChapterId += file.chapters?.length ?? 0
|
currChapterId += file.chapters?.length ?? 0
|
||||||
|
Loading…
Reference in New Issue
Block a user