Skip to content

Commit

Permalink
fix(VListItem): use .value to check activatable and selectable
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Mar 16, 2024
1 parent a997c42 commit fa5f351
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vuetify/src/components/VList/VListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ export const VListItem = genericComponent<VListItemSlots>()({

link.navigate?.(e)

if (root.activatable) {
if (root.activatable.value) {
activate(!isActivated.value, e)
} else if (root.selectable) {
} else if (root.selectable.value) {
select(!isSelected.value, e)
} else if (props.value != null) {
select(!isSelected.value, e)
Expand Down

0 comments on commit fa5f351

Please sign in to comment.