Skip to content

Commit 3280c7a

Browse files
authored
Update mixin-items.js
1 parent 4fe7eab commit 3280c7a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/table/helpers/mixin-items.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ export default {
8181
return {
8282
filter: this.localFilter,
8383
sortBy: this.sortMulti ? this.computedSortBy : (this.computedSortBy || [])[0] || '',
84-
sortDesc: this.sortMulti ? this.computedSortDesc : (this.computedSortDesc || [])[0] || false,
84+
sortDesc: this.sortMulti
85+
? this.computedSortDesc
86+
: (this.computedSortDesc || [])[0] || false,
8587
perPage: parseInt(this.perPage, 10) || 0,
8688
currentPage: parseInt(this.currentPage, 10) || 1,
8789
apiUrl: this.apiUrl

0 commit comments

Comments
 (0)