We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 518231c commit 92ae87eCopy full SHA for 92ae87e
src/components/table/helpers/mixin-sorting.js
@@ -119,12 +119,14 @@ export default {
119
// Make sortInfo a data property which we update
120
// via watchers on sortBy/SortDesc and event handlers.
121
// When a column is no longer sorted (null) we remove it from the array
122
+ const computedSortDesc = this.computedSortDesc
123
+ const computedFieldsObj = this.computedFieldsObj
124
return this.localSortBy
125
.map((key, idx) => {
- const field = this.computedFieldsObj[key] || {}
126
+ const field = computedFieldsObj[key] || {}
127
return {
128
sortBy: key,
- sortDesc: this.computedSortDesc[idx],
129
+ sortDesc: computedSortDesc[idx],
130
formatter: isFunction(field.formatter)
131
? field.formatter
132
: field.formatter
0 commit comments