mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-24 13:41:07 +08:00
Merge pull request #286 from c-bata/fix-less-comparator-of-param-value
Fix a less comparator of param value
This commit is contained in:
@@ -632,7 +632,7 @@ export const TrialTable: FC<{ studyDetail: StudyDetail | null }> = ({
|
||||
if (firstVal === secondVal) {
|
||||
return 0
|
||||
} else if (firstVal && secondVal) {
|
||||
return firstVal < secondVal ? 1 : -1
|
||||
return Number(firstVal) < Number(secondVal) ? 1 : -1
|
||||
} else if (firstVal) {
|
||||
return -1
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user