From 0643116e9b90fd086a92763ef9f5626976b02a54 Mon Sep 17 00:00:00 2001 From: Scott Ruoti Date: Mon, 7 Nov 2022 09:24:48 -0500 Subject: [PATCH] Fixing range generation in series labels --- server/controllers/LibraryController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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