mirror of
https://github.com/TriliumNext/Trilium.git
synced 2025-12-11 05:45:26 -06:00
chore(client): fix typecheck issue
This commit is contained in:
parent
3d971108b8
commit
2840df82f4
@ -29,7 +29,7 @@ async function getActionsForScope(scope: string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function setupActionsForElement(scope: string, $el: JQuery<HTMLElement>, component: Component) {
|
async function setupActionsForElement(scope: string, $el: JQuery<HTMLElement>, component: Component) {
|
||||||
if (!$el[0]) return;
|
if (!$el[0]) return [];
|
||||||
|
|
||||||
const actions = await getActionsForScope(scope);
|
const actions = await getActionsForScope(scope);
|
||||||
const bindings: ShortcutBinding[] = [];
|
const bindings: ShortcutBinding[] = [];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user