make node-views emit instead of calling the store

This commit is contained in:
axolotle
2021-06-10 17:51:28 +02:00
parent 346a3ffdfe
commit 95d4b6f66f
6 changed files with 16 additions and 9 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ export default {
toCommaList,
onClose () {
this.$store.dispatch('CLOSE_NODE', this.node.id)
this.$parent.$emit('close-node', this.node.id)
}
}
}