From e1b3ef76d462d9e03a9fd9e76f58e8bcd5222fa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Fri, 11 Jun 2021 13:37:16 +0300 Subject: [PATCH] Fixed #1339 - AccordionTab error with v-if="false" --- src/components/accordion/Accordion.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/accordion/Accordion.vue b/src/components/accordion/Accordion.vue index d429df16a..b5c127fb5 100755 --- a/src/components/accordion/Accordion.vue +++ b/src/components/accordion/Accordion.vue @@ -121,7 +121,7 @@ export default { if (this.isAccordionTab(child)) { tabs.push(child); } - else if (child.children.length > 0) { + else if (child.children instanceof Array) { child.children.forEach(nestedChild => { if (this.isAccordionTab(nestedChild)) { tabs.push(nestedChild)