mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-16 15:51:09 +02:00
Update server/objects/mediaTypes/Book.js
This commit is contained in:
parent
4770be5a39
commit
0203f9cc1b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue