diff --git a/main.js b/main.js index 33d353a..66f122c 100644 --- a/main.js +++ b/main.js @@ -40523,7 +40523,7 @@ var SectionItem = k3( var _a3; let vaultChangeModal = new VaultChangeModal( plugin, - ((_a3 = space.def) == null ? void 0 : _a3.length) > 0 ? getFolderFromPath(app, space.def) : defaultNoteFolder(plugin, activeFile2), + ((_a3 = space == null ? void 0 : space.def) == null ? void 0 : _a3.length) > 0 ? getFolderFromPath(app, space.def) : defaultNoteFolder(plugin, activeFile2), "create folder", data.space ); @@ -40533,7 +40533,7 @@ var SectionItem = k3( var _a3; const newFile = await createNewMarkdownFile( plugin.app, - ((_a3 = space.def) == null ? void 0 : _a3.length) > 0 ? getFolderFromPath(app, space.def) : defaultNoteFolder(plugin, activeFile2), + ((_a3 = space == null ? void 0 : space.def) == null ? void 0 : _a3.length) > 0 ? getFolderFromPath(app, space.def) : defaultNoteFolder(plugin, activeFile2), "" ); if (data.space != "/") diff --git a/manifest.json b/manifest.json index bc32698..9f49d01 100755 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "make-md", "name": "MAKE.md", - "version": "0.6.3", + "version": "0.6.4", "minAppVersion": "0.16.0", "description": "Make.md brings you features that supercharges Obsidian. Sort your files in custom order and add file icons using Spaces. Edit inline embeds with Flow Editor. And style your text and add new markdown blocks without writing markdown using Maker Mode.", "author": "MAKE.md",