Vanessa преди 1 година
родител
ревизия
18bf9e076b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/src/protyle/hint/index.ts

+ 1 - 1
app/src/protyle/hint/index.ts

@@ -423,7 +423,7 @@ ${genHintItemHTML(item)}
                 const realFileName = fileNames.length === 1 ? fileNames[0] : fileNames[1];
                 getSavePath(protyle.path, protyle.notebookId, (pathString) => {
                     fetchPost("/api/filetree/createDocWithMd", {
-                        showInDocTree: true,
+                        hidden: false,
                         notebook: protyle.notebookId,
                         path: pathPosix().join(pathString, realFileName),
                         parentID: protyle.block.rootID,