From 7441f842af92aa8a3660a941afbb8894af2fefdc 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 Feb 2022 15:33:01 +0300 Subject: [PATCH] Fixed #2120 - Multiple SplitterPanels created using v-for directive --- src/components/splitter/Splitter.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/splitter/Splitter.vue b/src/components/splitter/Splitter.vue index d210403ae..345675d21 100644 --- a/src/components/splitter/Splitter.vue +++ b/src/components/splitter/Splitter.vue @@ -229,7 +229,7 @@ export default { if (this.isSplitterPanel(child)) { panels.push(child); } - else if (child.children.length instanceof Array) { + else if (child.children instanceof Array) { child.children.forEach(nestedChild => { if (this.isSplitterPanel(nestedChild)) { panels.push(nestedChild)