diff --git a/src/routes/console/commandCenter.svelte b/src/routes/console/commandCenter.svelte index e39c113ca..f65de369d 100644 --- a/src/routes/console/commandCenter.svelte +++ b/src/routes/console/commandCenter.svelte @@ -27,6 +27,7 @@ }); function handleKeyDown(event: KeyboardEvent) { + if (!open) return; if (event.key === 'ArrowDown') { event.preventDefault(); selected = selected === results.length - 1 ? 0 : selected + 1;