Skip to content

Commit 5d7af2c

Browse files
committed
fix(VDataTable): reactive items from expanded with return-object
fixes #22189
1 parent 468ba31 commit 5d7af2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/vuetify/src/components/VDataTable/composables

packages/vuetify/src/components/VDataTable/composables/expand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export function provideExpanded (props: ExpandProps) {
4848
const item = [...expanded.value].find(x => toRaw(x) === rawValue)!
4949
newExpanded.delete(item)
5050
} else {
51-
newExpanded.add(rawValue)
51+
newExpanded.add(item.value)
5252
}
5353

5454
expanded.value = newExpanded

0 commit comments

Comments
 (0)