+8
-0
lines changedFilter options
+8
-0
lines changed Original file line number Diff line number Diff line change
@@ -112,6 +112,14 @@
112
112
const isAsc = this.MdTable.sortOrder === 'asc'
113
113
let isNumber = typeof aAttr === 'number'
114
114
115
+
if (!aAttr) {
116
+
return 1;
117
+
}
118
+
119
+
if(!bAttr) {
120
+
return -1
121
+
}
122
+
115
123
if (isNumber) {
116
124
return isAsc ? (aAttr - bAttr) : (bAttr - aAttr)
117
125
}
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4