Fixed #1339 - AccordionTab error with v-if="false"

pull/1340/head
Tuğçe Küçükoğlu 2021-06-11 13:37:16 +03:00
parent a8555c3a9f
commit e1b3ef76d4
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ export default {
if (this.isAccordionTab(child)) { if (this.isAccordionTab(child)) {
tabs.push(child); tabs.push(child);
} }
else if (child.children.length > 0) { else if (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)