diff --git a/src/routes/console/project-[project]/functions/function/[function]/_create.svelte b/src/routes/console/project-[project]/functions/function/[function]/_create.svelte index 27a7459de..a0dfd86f5 100644 --- a/src/routes/console/project-[project]/functions/function/[function]/_create.svelte +++ b/src/routes/console/project-[project]/functions/function/[function]/_create.svelte @@ -5,6 +5,7 @@ import { createEventDispatcher } from 'svelte'; import { addNotification } from '$lib/stores/notifications'; import { page } from '$app/stores'; + import { clickOnEnter } from '$lib/helpers/a11y'; export let showCreate = false; @@ -39,6 +40,7 @@ (showCli = true)} + on:keyup={clickOnEnter} class:is-selected={showCli}> Files @@ -47,6 +49,7 @@ (showCli = false)} + on:keyup={clickOnEnter} class:is-selected={!showCli}> Usage