Fixed #719 - Conditonally rendering columns in DataTable with v-if is throwing error
parent
d9beae5637
commit
888eb54a4c
|
@ -1659,7 +1659,7 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
children.forEach(child => {
|
children.forEach(child => {
|
||||||
if (child.dynamicChildren)
|
if (child.dynamicChildren && child.dynamicChildren.length)
|
||||||
cols = [...cols, ...child.children];
|
cols = [...cols, ...child.children];
|
||||||
else if (child.type.name === 'column')
|
else if (child.type.name === 'column')
|
||||||
cols.push(child);
|
cols.push(child);
|
||||||
|
|
Loading…
Reference in New Issue