File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
packages/vuetify/src/components/VList Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import { VListSubheader } from './VListSubheader'
5
5
import { VDivider } from '@/components/VDivider'
6
6
7
7
// Utilities
8
+ import { mergeProps } from 'vue'
8
9
import { createList } from './list'
9
10
import { genericComponent , propsFactory } from '@/util'
10
11
@@ -73,11 +74,11 @@ export const VListChildren = genericComponent<new <T extends InternalListItem>(
73
74
>
74
75
{ {
75
76
activator : ( { props : activatorProps } ) => {
76
- const listItemProps = {
77
- ... itemProps ,
78
- ... activatorProps ,
79
- value : props . returnObject ? item : itemProps . value ,
80
- }
77
+ const listItemProps = mergeProps (
78
+ itemProps ,
79
+ activatorProps ,
80
+ { value : props . returnObject ? item : itemProps . value }
81
+ ) as typeof itemProps
81
82
82
83
return slots . header
83
84
? slots . header ( { props : listItemProps } )
You can’t perform that action at this time.
0 commit comments