Fix:Continue series shelf showing in reverse order

This commit is contained in:
advplyr 2022-08-02 16:41:52 -05:00
parent 95ac74d748
commit 7a14b49aea

View File

@ -450,7 +450,7 @@ module.exports = {
if (bookInProgress) { // Update if this series is in progress if (bookInProgress) { // Update if this series is in progress
seriesMap[librarySeries.id].inProgress = true seriesMap[librarySeries.id].inProgress = true
if (seriesMap[librarySeries.id].bookInProgressLastUpdate > mediaProgress.lastUpdate) { if (seriesMap[librarySeries.id].bookInProgressLastUpdate < mediaProgress.lastUpdate) {
seriesMap[librarySeries.id].bookInProgressLastUpdate = mediaProgress.lastUpdate seriesMap[librarySeries.id].bookInProgressLastUpdate = mediaProgress.lastUpdate
} }
} else if (!seriesMap[librarySeries.id].firstBookUnread) { } else if (!seriesMap[librarySeries.id].firstBookUnread) {