Fix issue adding key binding without any existing custom key bindings

This commit is contained in:
Jonatan Heyman 2025-04-19 14:10:04 +02:00
parent c4056096a6
commit 29ac62db01

View File

@ -69,7 +69,7 @@
key: event.key,
command: event.command,
},
...this.keymap,
...(this.keymap ? this.keymap : []),
]
//console.log("keymap", this.keymap)
this.$emit("update:modelValue", this.keymap)