diff options
Diffstat (limited to 'application/components/keyboard-picker.vue')
-rw-r--r-- | application/components/keyboard-picker.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/components/keyboard-picker.vue b/application/components/keyboard-picker.vue index 404240a..a6fd529 100644 --- a/application/components/keyboard-picker.vue +++ b/application/components/keyboard-picker.vue @@ -71,14 +71,14 @@ export default { }, handleKeyboardSelected(event) { const { source } = this - const { layout, keymap } = event + const { layout, keymap, ...rest } = event const layerNames = keymap.layer_names || keymap.layers.map((_, i) => `Layer ${i}`) Object.assign(keymap, { layer_names: layerNames }) - this.$emit('select', { source, layout, keymap }) + this.$emit('select', { source, layout, keymap, ...rest }) } } } |