Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: tweak words

Steven771a977c9fc7
diff --git a/web/src/components/MemoEditor/index.tsx b/web/src/components/MemoEditor/index.tsx
index 435232c4e..e1c6b2db3 100644
--- a/web/src/components/MemoEditor/index.tsx
+++ b/web/src/components/MemoEditor/index.tsx
@@ -364,6 +364,7 @@ const MemoEditor = (props: Props) => {
isRequesting: false,
resourceList: [],
relationList: [],
+ location: undefined,
};
});
};
diff --git a/web/src/components/UserStatisticsView.tsx b/web/src/components/UserStatisticsView.tsx
index 3ad741ac7..aed6b6cdc 100644
--- a/web/src/components/UserStatisticsView.tsx
+++ b/web/src/components/UserStatisticsView.tsx
@@ -65,7 +65,7 @@ const UserStatisticsView = () => {
await memoServiceClient.rebuildMemoProperty({
name: "memos/-",
});
- toast.success("Refresh successfully");
+ toast.success("Rebuild memo properties successfully.");
window.location.reload();
};
@@ -96,7 +96,7 @@ const UserStatisticsView = () => {
<PopoverContent align="end" alignOffset={-12}>
<button className="w-auto flex flex-row justify-between items-center gap-2 hover:opacity-80" onClick={rebuildMemoTags}>
<RefreshCcwIcon className="text-gray-400 w-4 h-auto cursor-pointer opacity-60" />
- <span className="text-sm shrink-0 text-gray-500 dark:text-gray-400">Refresh</span>
+ <span className="text-sm shrink-0 text-gray-500 dark:text-gray-400">Rebuild properties</span>
</button>
</PopoverContent>
</Popover>