feat(assist): fixed sort by numeric attributes

This commit is contained in:
Taha Yassine Kraiem 2022-07-15 17:20:23 +02:00 committed by Shekar Siri
parent bb8dee83fe
commit 0bc584cd10

View file

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