aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/components/keyboard-picker.vue
diff options
context:
space:
mode:
Diffstat (limited to 'application/components/keyboard-picker.vue')
-rw-r--r--application/components/keyboard-picker.vue4
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 })
}
}
}