Fixed #1186 - Error when hidding tab panel using v-if

pull/1196/head^2
mertsincan 2021-05-12 12:09:02 +03:00
parent 6ab161680f
commit 563703bb20
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ export default {
if (this.isTabPanel(child)) {
tabs.push(child);
}
else if (child.children.length > 0) {
else if (child.children && child.children instanceof Array) {
child.children.forEach(nestedChild => {
if (this.isTabPanel(nestedChild)) {
tabs.push(nestedChild)