Skip to content

Commit 9f5ceda

Browse files
authored
Update mixin-provider.js
1 parent 2f2496b commit 9f5ceda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ export default {
5555
ctx.filter = this.localFilter
5656
}
5757
if (!this.noProviderSorting) {
58-
ctx.sortBy = this.localSortBy
59-
ctx.sortDesc = this.localSortDesc
58+
ctx.sortBy = this.sortMulti ? this.computedSortBy : (this.computedSortBy || [])[0] || ''
59+
ctx.sortDesc = this.sortMulti ? this.computedSortDesc : (this.computedSortDesc || [])[0] || false
6060
}
6161
if (!this.noProviderPaging) {
6262
ctx.perPage = this.perPage

0 commit comments

Comments
 (0)