File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
packages/bootstrap-vue-3/src/components/BTable Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 36
36
:direction =" sortDescBoolean ? 'desc' : 'asc'"
37
37
>
38
38
<span
39
- v-if =" isSortable && field.sortable && field.key === sortBy "
39
+ v-if =" isSortable && field.sortable"
40
40
class =" b-table-sort-icon text-muted small"
41
+ :class =" {sorted: field.key === sortBy}"
41
42
/>
42
43
</slot >
43
44
<div >
Original file line number Diff line number Diff line change 175
175
}
176
176
177
177
& .b-table-sortable {
178
- & .b-table-sort-asc .b-table-sort-icon ::before {
178
+ & .b-table-sort-asc .sorted. b-table-sort-icon ::before {
179
179
content : " ▲" ;
180
180
}
181
181
182
- & .b-table-sort-desc .b-table-sort-icon ::before {
182
+ & .b-table-sort-desc .sorted. b-table-sort-icon ::before {
183
183
content : " ▼" ;
184
184
}
185
185
}
You can’t perform that action at this time.
0 commit comments