diff --git a/src/components/ControllerBottom.vue b/src/components/ControllerBottom.vue index 84317b2085b5..c3a3ea6a50f3 100644 --- a/src/components/ControllerBottom.vue +++ b/src/components/ControllerBottom.vue @@ -384,7 +384,11 @@ export default { const msg = this.$t('statsTemplate', stats); this.deferredMessage(msg); this.viewReadme(this.keyboard).then(() => { - this.setKeymapName(data.keymap); + let keymapName = data.keymap; + if (keymapName.endsWith('.json')) { + keymapName = keymapName.replace(/.json$/, ''); + } + this.setKeymapName(keymapName); this.setDirty(); }); });