Skip to content
This repository was archived by the owner on Apr 1, 2022. It is now read-only.

Commit 9b99e43

Browse files
author
kennhuang
committed
v2.3.0
1 parent f6d3da0 commit 9b99e43

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

dist/min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/dist/client.84d95696.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/dist/client.a1501350.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212

1313
<script src="//unpkg.com/jquery@2.1.4/dist/jquery.min.js"></script>
1414
<script src="//unpkg.com/bootstrap@3.3.5/dist/js/bootstrap.min.js"></script>
15-
<script type="text/javascript" src="client.84d95696.js"></script></body>
15+
<script type="text/javascript" src="client.a1501350.js"></script></body>
1616
</html>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue2-datatable-component",
33
"description": "The best Datatable for Vue.js 2.x which never sucks",
4-
"version": "2.2.2",
4+
"version": "2.3.0",
55
"main": "dist/min.js",
66
"module": "src/main.js",
77
"author": "Ken Berkeley <kenberkeley@foxmail.com>",

src/Table/HeadSort.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ export default {
1818
}),
1919
computed: {
2020
cls () {
21+
const { order } = this
2122
return [
2223
'fa',
23-
{ 'fa-sort': !this.order,
24-
'fa-sort-up': this.order === 'asc',
25-
'fa-sort-down': this.order === 'desc',
26-
'text-muted': !this.order
24+
{ 'fa-sort text-muted': !order,
25+
'fa-sort-up': order === 'asc',
26+
'fa-sort-down': order === 'desc'
2727
}
2828
]
2929
}

0 commit comments

Comments
 (0)