Skip to content

Commit 8e964c7

Browse files
committed
fix(VTreeview): pass indent-lines to header slot
1 parent f04d08c commit 8e964c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vuetify/src/components/VTreeview/VTreeviewChildren.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ export const VTreeviewChildren = genericComponent<new <T extends InternalListIte
200200
...itemProps,
201201
...activatorProps,
202202
value: itemProps?.value,
203+
indentLines: indentLines.node,
203204
onToggleExpand: [() => checkChildren(item), activatorProps.onClick] as any,
204205
onClick: isClickOnOpen.value
205206
? [() => checkChildren(item), activatorProps.onClick] as any
@@ -215,7 +216,6 @@ export const VTreeviewChildren = genericComponent<new <T extends InternalListIte
215216
{ ...listItemProps }
216217
hasCustomPrepend={ !!slots.prepend }
217218
hideActions={ props.hideActions }
218-
indentLines={ indentLines.node }
219219
value={ props.returnObject ? item.raw : itemProps.value }
220220
loading={ loading }
221221
v-slots={ slotsWithItem }

0 commit comments

Comments
 (0)