Skip to content

Commit dd5b0a7

Browse files
authored
Update mixin-sorting.js
1 parent 2923313 commit dd5b0a7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,13 @@ export default {
280280
toggleLocalSortDesc()
281281
}
282282
sortChanged = true
283-
} else if (this.localSortBy.length > 0 && !this.noSortReset) {
283+
} else if (this.computedSortInfo.length > 0 && !this.noSortReset) {
284284
this.localSortBy = []
285-
toggleLocalSortDesc()
285+
if (this.sortMulti) {
286+
this.localSortDesc = []
287+
} else {
288+
toggleLocalSortDesc()
289+
}
286290
sortChanged = true
287291
// } else {
288292
// sortChanged = false

0 commit comments

Comments
 (0)