mirror of
https://github.com/usememos/memos.git
synced 2025-01-01 10:01:54 +08:00
fix: update uniqby key (#3518)
* Used correct uniqby key * Put back filter --------- Co-authored-by: Martin MacDonald <martinmacdonald@Martins-MacBook-Pro.local>
This commit is contained in:
parent
e8ed437ca3
commit
0977acbc7f
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ const AddMemoRelationButton = (props: Props) => {
|
|||
})),
|
||||
...context.relationList,
|
||||
].filter((relation) => relation.relatedMemo !== context.memoName),
|
||||
"relatedMemoId",
|
||||
"relatedMemo",
|
||||
),
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue