Skip to content

Commit

Permalink
Refactor #1339
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Jun 11, 2021
1 parent e1b3ef7 commit 002b845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/accordion/Accordion.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 002b845

Please sign in to comment.