mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 15:40:12 +01:00
🎨 https://github.com/siyuan-note/siyuan/issues/9368 isFullScreen
This commit is contained in:
parent
ec65118339
commit
b869fd1d9d
8 changed files with 29 additions and 18 deletions
|
|
@ -642,8 +642,8 @@ export const genImportMenu = (notebookId: string, pathString: string) => {
|
|||
if (isDoc) {
|
||||
filters = [{name: "Markdown", extensions: ["md", "markdown"]}];
|
||||
}
|
||||
const localPath = await ipcRenderer.invoke(Constants.SIYUAN_DIALOG, {
|
||||
type: "showOpenDialog",
|
||||
const localPath = await ipcRenderer.invoke(Constants.SIYUAN_GET, {
|
||||
cmd: "showOpenDialog",
|
||||
defaultPath: window.siyuan.config.system.homeDir,
|
||||
filters,
|
||||
properties: [isDoc ? "openFile" : "openDirectory"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue