From 07a9b37737f76a7013852ea1d64364bff80f8a46 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sun, 17 Nov 2024 17:37:26 -0800 Subject: [PATCH] fix: knowledge update issue --- src/lib/components/workspace/Knowledge/KnowledgeBase.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/components/workspace/Knowledge/KnowledgeBase.svelte b/src/lib/components/workspace/Knowledge/KnowledgeBase.svelte index 2a6f6c19b..8d4b3f028 100644 --- a/src/lib/components/workspace/Knowledge/KnowledgeBase.svelte +++ b/src/lib/components/workspace/Knowledge/KnowledgeBase.svelte @@ -421,6 +421,7 @@ } const res = await updateKnowledgeById(localStorage.token, id, { + ...knowledge, name: knowledge.name, description: knowledge.description, access_control: knowledge.access_control