From 002b8451b1a45196a15f69476d3ae396f862170f 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 14:10:54 +0300 Subject: [PATCH] Refactor #1339 --- 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 b5c127fb5..4de879af6 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 instanceof Array) { + else if (child.children && child.children instanceof Array) { child.children.forEach(nestedChild => { if (this.isAccordionTab(nestedChild)) { tabs.push(nestedChild)