From bb9402a8a2f531fb68fac449b9c1890d4733bdbe Mon Sep 17 00:00:00 2001 From: ArneBo Date: Mon, 24 Feb 2025 16:07:53 +0100 Subject: [PATCH] fix(front): make shortcuts modal shortcuts work again --- front/src/ui/modals/Shortcuts.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/ui/modals/Shortcuts.vue b/front/src/ui/modals/Shortcuts.vue index a0fd6bfb9..35187dce6 100644 --- a/front/src/ui/modals/Shortcuts.vue +++ b/front/src/ui/modals/Shortcuts.vue @@ -14,7 +14,7 @@ const { t } = useI18n() const isOpen = useModal('shortcuts').isOpen -onKeyboardShortcut('h', useModal('shortcuts').toggle) +onKeyboardShortcut('h', (() => { isOpen.value = !isOpen.value })) const general = computed(() => [ {