diff --git a/src/lib/Tree.js b/src/lib/Tree.js index f8d0452..66fca53 100644 --- a/src/lib/Tree.js +++ b/src/lib/Tree.js @@ -93,7 +93,7 @@ export default class Tree { node.showChildren = true }) - this.vm.matches.length = 0 + this.vm.matches.splice(0) this.vm.$emit('tree:filtered', [], '') }