Skip to content

Commit dcf0fdb

Browse files
hawkeye64rstoenescu
authored andcommitted
fix(ui): table sort issue (quasarframework#5670)
* fix(ui): table sort issue * Update table-sort.js
1 parent 007275d commit dcf0fdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/components/table/table-sort.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
type: Function,
88
default (data, sortBy, descending) {
99
const col = this.columns.find(def => def.name === sortBy)
10-
if (col === null || col.field === void 0) {
10+
if (col === void 0 || col.field === void 0) {
1111
return data
1212
}
1313

0 commit comments

Comments
 (0)