Fix the sort of user_attr values

This commit is contained in:
c-bata
2023-08-28 11:28:23 +09:00
parent 0a1e5efb32
commit b2cb0e064c
@@ -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 {