Timothy J. Baek 6 months ago
parent
commit
e7ae9a2107
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/lib/components/workspace/Knowledge/Collection.svelte

+ 3 - 0
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;
+										}}
 									/>
 
 									<div>