mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 15:40:12 +01:00
🎨 Support for opening file history on the doc tree https://github.com/siyuan-note/siyuan/issues/8448
This commit is contained in:
parent
5c641120ae
commit
16f116cfd2
1 changed files with 2 additions and 8 deletions
|
|
@ -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});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue