From ad7b222733abedbca9947fce993de2e582174cc5 Mon Sep 17 00:00:00 2001 From: Lost Paul <70213368+LostPaul@users.noreply.github.com> Date: Fri, 24 Mar 2023 13:22:30 +0100 Subject: [PATCH] Fixed issue #2 --- manifest.json | 2 +- src/commands.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }); }); }