mirror of
https://github.com/lostpaul/obsidian-folder-notes.git
synced 2026-07-22 07:40:24 +00:00
Update handleCreate.ts
This commit is contained in:
parent
e8e80f6ddb
commit
504a484c8b
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ export function handleCreate(file: TAbstractFile, plugin: FolderNotesPlugin) {
|
|||
|
||||
if (!plugin.settings.autoCreateForAttachmentFolder) {
|
||||
if (!attachmentsAreInRootFolder && cleanAttachmentFolderPath === file.name) return;
|
||||
} else {
|
||||
} else if (!attachmentsAreInRootFolder && cleanAttachmentFolderPath === file.name) {
|
||||
openFile = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue