From 54ea1f234083ebfd9e197f857b28a0f02e59ba88 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 17 Oct 2024 23:40:56 +0800 Subject: [PATCH] :bug: --- app/src/protyle/render/av/relation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,