From e7ae9a21077f3fac8710d5f80a8958eeba8a862f Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Mon, 7 Oct 2024 17:39:06 -0700 Subject: [PATCH] refac --- src/lib/components/workspace/Knowledge/Collection.svelte | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/components/workspace/Knowledge/Collection.svelte b/src/lib/components/workspace/Knowledge/Collection.svelte index c318e6fa1..d7f2e1ed9 100644 --- a/src/lib/components/workspace/Knowledge/Collection.svelte +++ b/src/lib/components/workspace/Knowledge/Collection.svelte @@ -613,6 +613,9 @@ class=" w-full text-sm pr-4 py-1 rounded-r-xl outline-none bg-transparent" bind:value={query} placeholder={$i18n.t('Search Collection')} + on:focus={() => { + selectedFileId = null; + }} />