From d613fb771c2ef5a09c0640e19e49b7c13ea709d8 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Tue, 13 Jun 2023 08:13:47 -0700 Subject: [PATCH] force `keyboardPath` to use lowercase folder names (#1257) --- src/store/modules/app/actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/app/actions.js b/src/store/modules/app/actions.js index 5a27b04a31..6aef5146de 100644 --- a/src/store/modules/app/actions.js +++ b/src/store/modules/app/actions.js @@ -31,7 +31,7 @@ const actions = { * load the default keymap for the currently selected keyboard */ async loadDefaultKeymap({ state }) { - const keyboardPath = state.keyboard.slice(0, 1); + const keyboardPath = state.keyboard.slice(0, 1).toLowerCase(); // eslint-disable-next-line const keyboardName = state.keyboard.replace(/\//g, '_'); const resp = await axios.get(