diff --git a/server/controllers/LibraryController.js b/server/controllers/LibraryController.js index c2902931..5a2878be 100644 --- a/server/controllers/LibraryController.js +++ b/server/controllers/LibraryController.js @@ -285,7 +285,7 @@ class LibraryController { lastRange.end = currentSequence } else { - ranges.push({ start: currentSequence, end: currentSequence, isNumber: isNaN(currentSequence) }) + ranges.push({ start: currentSequence, end: currentSequence, isNumber: isNumber }) } return ranges