Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug:

Vanessa54ea1f234083
diff --git a/app/src/protyle/render/av/relation.ts b/app/src/protyle/render/av/relation.ts
index c388e5c373..727936847a 100644
--- a/app/src/protyle/render/av/relation.ts
+++ b/app/src/protyle/render/av/relation.ts
@@ -157,7 +157,7 @@ export const updateRelation = (options: {
action: "updateAttrViewColRelation",
avID: options.avID,
keyID: colId,
- id: colData.relation.avID,
+ id: colData.relation.avID || newAVId,
backRelationKeyID: colData.relation.backKeyID,
isTwoWay: colData.relation.isTwoWay,
name: inputElement.dataset.oldValue,