fix: a collaborator saving a shared knowledge base's name or description keeps its sharing (#32450)

This commit is contained in:
G30 2026-10-15 05:58:49 -04:00 • committed by GitHub
parent 58b821a464
commit 08f6023427
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -629,10 +629,8 @@
}
const res = await updateKnowledgeById(localStorage.token, id, {
...knowledge,
name: knowledge.name,
description: knowledge.description,
access_grants: knowledge.access_grants ?? []
description: knowledge.description
}).catch((e) => {
toast.error(`${e}`);
});