mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-10-04 12:50:44 +08:00
Fix a less comparator of param value
This commit is contained in:
1 parent
eab3a7a7cd
commit
a445e8614c
1 file changed
+1
-1
@@ -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