mirror of
https://github.com/heyman/heynote.git
synced 2025-06-27 04:51:50 +02:00
Fix issue adding key binding without any existing custom key bindings
This commit is contained in:
parent
c4056096a6
commit
29ac62db01
@ -69,7 +69,7 @@
|
|||||||
key: event.key,
|
key: event.key,
|
||||||
command: event.command,
|
command: event.command,
|
||||||
},
|
},
|
||||||
...this.keymap,
|
...(this.keymap ? this.keymap : []),
|
||||||
]
|
]
|
||||||
//console.log("keymap", this.keymap)
|
//console.log("keymap", this.keymap)
|
||||||
this.$emit("update:modelValue", this.keymap)
|
this.$emit("update:modelValue", this.keymap)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user