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

Commit 4747c15

Browse files
committed
Account for unsorted class
1 parent fbb176f commit 4747c15

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
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.1880c24e.js

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

examples/dist/client.84d95696.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.1880c24e.js"></script></body>
15+
<script type="text/javascript" src="client.84d95696.js"></script></body>
1616
</html>

src/Table/HeadSort.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ export default {
2020
cls () {
2121
return [
2222
'fa',
23-
{ 'fa-sort-down': this.order === 'desc',
23+
{ 'fa-sort': !this.order,
2424
'fa-sort-up': this.order === 'asc',
25+
'fa-sort-down': this.order === 'desc',
2526
'text-muted': !this.order
2627
}
2728
]

0 commit comments

Comments
 (0)