tods-competition-factory 1.6.21 → 1.6.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22367,7 +22367,7 @@ function getScaledEntries({
22367
22367
  return { ...entry, ...scaleItem };
22368
22368
  }).filter((scaledEntry) => {
22369
22369
  const scaleValue = scaledEntry.scaleValue;
22370
- if (!scaleSortMethod && scaleValue && typeof scaleValue !== "number")
22370
+ if (!scaleSortMethod && (isNaN(scaleValue) || !parseFloat(scaleValue)))
22371
22371
  return false;
22372
22372
  return scaleValue;
22373
22373
  }).sort(scaleSortMethod || defaultScaleValueSort);