mirror of
https://github.com/usememos/memos.git
synced 2025-01-06 12:26:45 +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,
|
...context.relationList,
|
||||||
].filter((relation) => relation.relatedMemo !== context.memoName),
|
].filter((relation) => relation.relatedMemo !== context.memoName),
|
||||||
"relatedMemoId",
|
"relatedMemo",
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue