Fixed #1914 - Error while dynamic remove SplitterPanel component
parent
517a0d7602
commit
60ece4fdcc
|
@ -229,7 +229,7 @@ export default {
|
||||||
if (this.isSplitterPanel(child)) {
|
if (this.isSplitterPanel(child)) {
|
||||||
panels.push(child);
|
panels.push(child);
|
||||||
}
|
}
|
||||||
else if (child.children.length > 0) {
|
else if (child.children.length instanceof Array) {
|
||||||
child.children.forEach(nestedChild => {
|
child.children.forEach(nestedChild => {
|
||||||
if (this.isSplitterPanel(nestedChild)) {
|
if (this.isSplitterPanel(nestedChild)) {
|
||||||
panels.push(nestedChild)
|
panels.push(nestedChild)
|
||||||
|
|
Loading…
Reference in New Issue