Skip to content

Commit

Permalink
fixes #744
Browse files Browse the repository at this point in the history
  • Loading branch information
xaksis committed Mar 2, 2021
1 parent 908add4 commit 3a3934d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/types/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default {
compare(x, y) {
function cook(d) {
if (typeof d === 'undefined' || d === null) return '';
return diacriticless(d.toLowerCase());
return diacriticless(String(d).toLowerCase());
}
x = cook(x);
y = cook(y);
Expand Down

0 comments on commit 3a3934d

Please sign in to comment.