Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Support for opening file history on the doc tree https://github.com/siyuan-note/siyuan/issues/8448

Daniel16f116cfd2bc
diff --git a/app/src/menus/navigation.ts b/app/src/menus/navigation.ts
index 949abd0654..25fc4dd272 100644
--- a/app/src/menus/navigation.ts
+++ b/app/src/menus/navigation.ts
@@ -1,10 +1,4 @@
-import {
- copySubMenu,
- exportMd,
- movePathToMenu,
- openFileAttr,
- renameMenu,
-} from "./commonMenuItem";
+import {copySubMenu, exportMd, movePathToMenu, openFileAttr, renameMenu,} from "./commonMenuItem";
/// #if !BROWSER
import {FileFilter, shell} from "electron";
import {dialog as remoteDialog} from "@electron/remote";
@@ -543,7 +537,7 @@ export const initFileMenu = (app: App, notebookId: string, pathString: string, l
/// #endif
if (!window.siyuan.config.readonly) {
window.siyuan.menus.menu.append(new MenuItem({
- label: window.siyuan.languages.dataHistory,
+ label: window.siyuan.languages.fileHistory,
icon: "iconHistory",
click() {
openDocHistory({app, id, notebookId, pathString: name});