Skip to content

Commit

Permalink
Refactor #719
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed May 10, 2021
1 parent 15a3148 commit 843742c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/datatable/DataTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1659,7 +1659,7 @@ export default {
}
children.forEach(child => {
if (child.dynamicChildren && child.dynamicChildren.length)
if (child.dynamicChildren && child.children instanceof Array)
cols = [...cols, ...child.children];
else if (child.type.name === 'column')
cols.push(child);
Expand Down

0 comments on commit 843742c

Please sign in to comment.