Skip to content

Commit

Permalink
fix(VDataTable): select all showing when not enabled on mobile (#19727)
Browse files Browse the repository at this point in the history
  • Loading branch information
webdevnerdstuff authored May 1, 2024
1 parent 002ae8d commit 0825e2d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,10 @@ export const VDataTableHeaders = genericComponent<VDataTableHeadersSlots>()({
})

const appendIcon = computed(() => {
const showSelectColumn = columns.value.find(column => column.key === 'data-table-select')

if (showSelectColumn == null) return

return allSelected.value ? '$checkboxOn' : someSelected.value ? '$checkboxIndeterminate' : '$checkboxOff'
})

Expand Down

0 comments on commit 0825e2d

Please sign in to comment.