Skip to content

Commit 2923313

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export default {
174174
)
175175
}
176176
// Negate result if sorting if descending order
177-
result = (value || 0) * (sortDesc[idx] ? -1 : 1)
177+
result = (value || 0) * (sortDesc ? -1 : 1)
178178
}
179179
return result
180180
})

0 commit comments

Comments
 (0)