Skip to content

Commit

Permalink
force keyboardPath to use lowercase folder names (#1257)
Browse files Browse the repository at this point in the history
  • Loading branch information
noroadsleft committed Jun 13, 2023
1 parent 2a790e7 commit d613fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/modules/app/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit d613fb7

Please sign in to comment.