feat(assist): fixed sort by numeric attributes

This commit is contained in:
Taha Yassine Kraiem 2022-07-15 17:20:23 +02:00
parent f7302c555b
commit 6df525e258

View file

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