chore(client): fix typecheck issue

This commit is contained in:
Elian Doran
2025-11-15 17:52:08 +02:00
parent 3d971108b8
commit 2840df82f4

View File

@@ -29,7 +29,7 @@ async function getActionsForScope(scope: string) {
}
async function setupActionsForElement(scope: string, $el: JQuery<HTMLElement>, component: Component) {
if (!$el[0]) return;
if (!$el[0]) return [];
const actions = await getActionsForScope(scope);
const bindings: ShortcutBinding[] = [];