Skip to content

Commit

Permalink
fix(VStepper): only show edit icon if editable and selected
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed May 8, 2024
1 parent 3d9deb7 commit 34bb202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/components/VStepper/VStepperItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const VStepperItem = genericComponent<VStepperItemSlots>()({
const icon = computed(() => {
if (hasError.value) return props.errorIcon
if (hasCompleted.value) return props.completeIcon
if (props.editable) return props.editIcon
if (group.isSelected.value && props.editable) return props.editIcon

return props.icon
})
Expand Down

0 comments on commit 34bb202

Please # to comment.