Merge pull request #614

feat(assist): fixed sort by numeric attributes
This commit is contained in:
Kraiem Taha Yassine 2022-07-15 17:23:19 +02:00 committed by GitHub
commit 59d9b4452d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -149,7 +149,7 @@ const getValue = function (obj, key) {
}
if (val !== undefined) {
return val;
return isNaN(val) ? val : Number(val);
}
}
}