mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update memo relation dialog
This commit is contained in:
@ -67,10 +67,10 @@ const UserProfile = () => {
|
||||
const filters = [`creator == "${user.name}"`, `row_status == "NORMAL"`, `order_by_pinned == true`];
|
||||
const contentSearch: string[] = [];
|
||||
if (tagQuery) {
|
||||
contentSearch.push(`"#${tagQuery}"`);
|
||||
contentSearch.push(JSON.stringify(`#${tagQuery}`));
|
||||
}
|
||||
if (textQuery) {
|
||||
contentSearch.push(`"${textQuery}"`);
|
||||
contentSearch.push(JSON.stringify(textQuery));
|
||||
}
|
||||
if (contentSearch.length > 0) {
|
||||
filters.push(`content_search == [${contentSearch.join(", ")}]`);
|
||||
@ -107,7 +107,7 @@ const UserProfile = () => {
|
||||
</div>
|
||||
<MemoFilter className="px-2 pb-3" />
|
||||
{sortedMemos.map((memo) => (
|
||||
<MemoView key={memo.id} memo={memo} showVisibility showPinned />
|
||||
<MemoView key={`${memo.id}-${memo.displayTime}`} memo={memo} showVisibility showPinned />
|
||||
))}
|
||||
{isRequesting ? (
|
||||
<div className="flex flex-col justify-start items-center w-full my-4">
|
||||
|
Reference in New Issue
Block a user