mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
feat(react/widgets): port left pane toggle
This commit is contained in:
@@ -25,7 +25,7 @@ export default function ActionButton({ text, icon, className, onClick, triggerCo
|
||||
|
||||
useEffect(() => {
|
||||
if (triggerCommand) {
|
||||
keyboard_actions.getAction(triggerCommand).then(action => setKeyboardShortcut(action?.effectiveShortcuts));
|
||||
keyboard_actions.getAction(triggerCommand, true).then(action => setKeyboardShortcut(action?.effectiveShortcuts));
|
||||
}
|
||||
}, [triggerCommand]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user