mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 18:50:41 +01:00
show not set keyboard shortcuts as "not set", #1851
This commit is contained in:
@@ -89,7 +89,11 @@ function updateDisplayedShortcuts($container) {
|
||||
const action = await getAction(actionName, true);
|
||||
|
||||
if (action) {
|
||||
$(el).text(action.effectiveShortcuts.join(', '));
|
||||
const keyboardActions = action.effectiveShortcuts.join(', ');
|
||||
|
||||
if (keyboardActions || $(el).text() !== "not set") {
|
||||
$(el).text(keyboardActions);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user