mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-22 13:20:38 +08:00
Merge pull request #580 from c-bata/fix-issue-578
Fix the sort of `user_attr` values
This commit is contained in:
@@ -157,7 +157,7 @@ export const TrialTable: FC<{
|
||||
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