From 05c94bde8f66966c0c458ebb1617194295ba4927 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Mon, 9 Dec 2019 17:31:42 +0300 Subject: [PATCH] Fixed #105 - TreeNode is not toggled with left and right arrow keys --- src/components/tree/TreeNode.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/tree/TreeNode.vue b/src/components/tree/TreeNode.vue index b6bd2f10e..07227664b 100644 --- a/src/components/tree/TreeNode.vue +++ b/src/components/tree/TreeNode.vue @@ -148,7 +148,7 @@ export default { //right-left arrows case 37: case 39: - this.$emit('toggle', this.node); + this.$emit('node-toggle', this.node); event.preventDefault(); break;