diff --git a/app/src/protyle/render/av/relation.ts b/app/src/protyle/render/av/relation.ts index c388e5c37..727936847 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,