mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-04 10:14:36 +02:00
var => let
This commit is contained in:
parent
d4c1bc5dfc
commit
65153fae9d
1 changed files with 1 additions and 1 deletions
|
@ -739,7 +739,7 @@ module.exports = {
|
|||
const libraryItems = series.map(s => {
|
||||
if (!s.bookSeries.length) return null // this is only possible if user has restricted books in series
|
||||
|
||||
var bookIndex = 0
|
||||
let bookIndex = 0
|
||||
// if the library setting is toggled, only show later entries in series, otherwise skip
|
||||
if (library.settings.onlyShowLaterBooksInContinueSeries) {
|
||||
bookIndex = s.bookSeries.findIndex(function (b) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue