From 90ef9f751a85f9f669f84629df774318fa1bd1b3 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Thu, 3 Oct 2024 23:32:20 -0700 Subject: [PATCH] fix --- src/lib/components/workspace/Knowledge/Collection.svelte | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/components/workspace/Knowledge/Collection.svelte b/src/lib/components/workspace/Knowledge/Collection.svelte index 363ce3dc7..0895aa037 100644 --- a/src/lib/components/workspace/Knowledge/Collection.svelte +++ b/src/lib/components/workspace/Knowledge/Collection.svelte @@ -56,6 +56,8 @@ file.data = file.data ?? { content: '' }; selectedFile = file; } + } else { + selectedFile = null; } let debounceTimeout = null;