Skip to content

Commit

Permalink
Fixed #2120 - Multiple SplitterPanels created using v-for directive
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Feb 11, 2022
1 parent 4ff6ea1 commit 7441f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/splitter/Splitter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7441f84

Please sign in to comment.