Skip to content

Commit 0977acb

Browse files
mmacdo54Martin MacDonald
andauthored
fix: update uniqby key (usememos#3518)
* Used correct uniqby key * Put back filter --------- Co-authored-by: Martin MacDonald <[email protected]>
1 parent e8ed437 commit 0977acb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

web/src/components/MemoEditor/ActionButton/AddMemoRelationButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const AddMemoRelationButton = (props: Props) => {
5151
})),
5252
...context.relationList,
5353
].filter((relation) => relation.relatedMemo !== context.memoName),
54-
"relatedMemoId",
54+
"relatedMemo",
5555
),
5656
);
5757
},

0 commit comments

Comments
 (0)