Skip to content

Commit 9128e6d

Browse files
authored
Update mixin-provider.js
1 parent 3280c7a commit 9128e6d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ export default {
5656
}
5757
if (!this.noProviderSorting) {
5858
ctx.sortBy = this.sortMulti ? this.computedSortBy : (this.computedSortBy || [])[0] || ''
59-
ctx.sortDesc = this.sortMulti ? this.computedSortDesc : (this.computedSortDesc || [])[0] || false
59+
ctx.sortDesc = this.sortMulti
60+
? this.computedSortDesc
61+
: (this.computedSortDesc || [])[0] || false
6062
}
6163
if (!this.noProviderPaging) {
6264
ctx.perPage = this.perPage

0 commit comments

Comments
 (0)