Skip to content

Commit

Permalink
fix(MaybeTransition): don't override custom props with undefined
Browse files Browse the repository at this point in the history
fixes #19446
  • Loading branch information
KaelWD committed Mar 22, 2024
1 parent 59ae97f commit 508a307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/composables/transition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const MaybeTransition: FunctionalComponent<MaybeTransitionProps> = (props
: customProps as any,
typeof transition === 'string'
? {}
: { disabled, group },
: Object.fromEntries(Object.entries({ disabled, group }).filter(([_, v]) => v !== undefined)),
rest as any,
),
slots
Expand Down

0 comments on commit 508a307

Please sign in to comment.