Skip to content

Commit

Permalink
fix(VDataTable): ensure expand slot is always an array
Browse files Browse the repository at this point in the history
fixes #4948
  • Loading branch information
KaelWD committed Aug 24, 2018
1 parent 2f38cfa commit 0398263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/VDataTable/mixins/body.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default {
const expand = this.$createElement('div', {
class: 'v-datatable__expand-content',
key: props.item[this.itemKey]
}, this.$scopedSlots.expand(props))
}, [this.$scopedSlots.expand(props)])

children.push(expand)
}
Expand Down

0 comments on commit 0398263

Please sign in to comment.