Skip to content

Commit

Permalink
fix(Table): default sortButton icon
Browse files Browse the repository at this point in the history
Fixes 0f3fe0d
  • Loading branch information
benjamincanac committed Jun 27, 2023
1 parent 6be9290 commit 07b27a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/components/data/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<UButton
v-if="column.sortable"
v-bind="{ ...ui.default.sortButton, ...sortButton }"
:icon="(!sort.column || sort.column !== column.key) ? (sortButton.icon || ui.default.sortButton) : sort.direction === 'asc' ? sortAscIcon : sortDescIcon"
:icon="(!sort.column || sort.column !== column.key) ? (sortButton.icon || ui.default.sortButton.icon) : sort.direction === 'asc' ? sortAscIcon : sortDescIcon"
:label="column[columnAttribute]"
@click="onSort(column)"
/>
Expand Down

0 comments on commit 07b27a2

Please sign in to comment.