Refactor #1339
parent
e1b3ef76d4
commit
002b8451b1
|
@ -121,7 +121,7 @@ export default {
|
||||||
if (this.isAccordionTab(child)) {
|
if (this.isAccordionTab(child)) {
|
||||||
tabs.push(child);
|
tabs.push(child);
|
||||||
}
|
}
|
||||||
else if (child.children instanceof Array) {
|
else if (child.children && child.children instanceof Array) {
|
||||||
child.children.forEach(nestedChild => {
|
child.children.forEach(nestedChild => {
|
||||||
if (this.isAccordionTab(nestedChild)) {
|
if (this.isAccordionTab(nestedChild)) {
|
||||||
tabs.push(nestedChild)
|
tabs.push(nestedChild)
|
||||||
|
|
Loading…
Reference in New Issue