mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 02:30:42 +01:00
chore(client): fix typecheck issue
This commit is contained in:
@@ -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[] = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user