mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
camelCase keyboard action names
This commit is contained in:
@@ -9,7 +9,6 @@ const keyboardActionsLoaded = server.get('keyboard-actions').then(actions => {
|
||||
|
||||
for (const action of actions) {
|
||||
action.effectiveShortcuts = action.effectiveShortcuts.filter(shortcut => !shortcut.startsWith("global:"));
|
||||
action.actionName = action.actionName.charAt(0).toLowerCase() + action.actionName.slice(1);
|
||||
|
||||
keyboardActionRepo[action.actionName] = action;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user