diff --git a/src/components/sidebar/CollapsibleSection.vue b/src/components/sidebar/CollapsibleSection.vue index 621b664..cddcdca 100644 --- a/src/components/sidebar/CollapsibleSection.vue +++ b/src/components/sidebar/CollapsibleSection.vue @@ -1,12 +1,13 @@ @@ -20,7 +21,7 @@ props: { name: { - type: Object as () => LiveAtlasSidebarSection, + type: String as () => LiveAtlasSidebarSection, required: true, } }, @@ -36,7 +37,7 @@ }, methods: { - handleKeypress(e: KeyboardEvent) { + handleKeydown(e: KeyboardEvent) { if(e.key !== ' ' && e.key !== 'Enter') { return; }