diff --git a/manifest.json b/manifest.json index d911c96..02dd36d 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "folder-notes", "name": "Folder notes", - "version": "1.0.3", + "version": "1.0.4", "minAppVersion": "0.15.0", "description": "Create notes within folders that can be accessed without collapsing the folder, similar to the functionality offered in Notion.", "author": "Lost Paul", diff --git a/src/commands.ts b/src/commands.ts index 51e5b67..60de9e5 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -49,7 +49,7 @@ export class Commands { item.setTitle('Create folder note') .setIcon('edit') .onClick(() => { - this.plugin.createFolderNote(file.path, true); + this.plugin.createFolderNote(file.path + "/" + file.name + ".md" , true); }); }); }