diff --git a/app/src/layout/dock/Files.ts b/app/src/layout/dock/Files.ts
index e32de6bf5..7e978ee49 100644
--- a/app/src/layout/dock/Files.ts
+++ b/app/src/layout/dock/Files.ts
@@ -494,7 +494,7 @@ export class Files extends Model {
-
+
`;
@@ -852,7 +852,7 @@ class="b3-list-item b3-list-item--hide-action" data-path="${item.path}">
-
+
${countHTML}
diff --git a/app/src/menus/navigation.ts b/app/src/menus/navigation.ts
index 5fb78a6cf..983bb7432 100644
--- a/app/src/menus/navigation.ts
+++ b/app/src/menus/navigation.ts
@@ -28,14 +28,6 @@ export const initNavigationMenu = (liElement: HTMLElement) => {
const notebookId = liElement.parentElement.getAttribute("data-url");
const name = getNotebookName(notebookId);
window.siyuan.menus.menu.remove();
- window.siyuan.menus.menu.append(new MenuItem({
- icon: "iconFile",
- label: window.siyuan.languages.newFile,
- click: () => {
- newFile(notebookId, "/", true);
- }
- }).element);
- window.siyuan.menus.menu.append(new MenuItem({type: "separator"}).element);
if (!window.siyuan.config.readonly) {
window.siyuan.menus.menu.append(renameMenu({
path: "/",
@@ -149,13 +141,6 @@ export const initFileMenu = (notebookId: string, pathString: string, liElement:
window.siyuan.menus.menu.remove();
name = getDisplayName(name, false, true);
if (!window.siyuan.config.readonly) {
- window.siyuan.menus.menu.append(new MenuItem({
- icon: "iconFile",
- label: window.siyuan.languages.newSubDoc,
- click: () => {
- newFile(notebookId, pathString, true);
- }
- }).element);
if (window.siyuan.config.fileTree.sort === 6) {
window.siyuan.menus.menu.append(new MenuItem({
icon: "iconBefore",
@@ -189,8 +174,8 @@ export const initFileMenu = (notebookId: string, pathString: string, liElement:
newFile(notebookId, pathPosix().dirname(pathString), true, paths);
}
}).element);
+ window.siyuan.menus.menu.append(new MenuItem({type: "separator"}).element);
}
- window.siyuan.menus.menu.append(new MenuItem({type: "separator"}).element);
window.siyuan.menus.menu.append(new MenuItem({
label: window.siyuan.languages.copy,
type: "submenu",
diff --git a/app/src/mobile/util/MobileFiles.ts b/app/src/mobile/util/MobileFiles.ts
index ebe53fc63..4c4be7217 100644
--- a/app/src/mobile/util/MobileFiles.ts
+++ b/app/src/mobile/util/MobileFiles.ts
@@ -730,7 +730,7 @@ class="b3-list-item" data-path="${item.path}">
-
+
${countHTML}