mirror of
https://github.com/lostpaul/obsidian-folder-notes.git
synced 2026-07-22 07:40:24 +00:00
Fix small issues
This commit is contained in:
parent
0978c220af
commit
64ce683a5c
3 changed files with 4 additions and 2 deletions
|
|
@ -104,7 +104,7 @@ export class FolderOverviewSettings extends Modal {
|
|||
.setName('Folder path for the overview')
|
||||
.setDesc('Choose the folder path for the overview')
|
||||
.addSearch((search) => {
|
||||
new FolderSuggest(search.inputEl, this.plugin)
|
||||
new FolderSuggest(search.inputEl, this.plugin, false)
|
||||
search
|
||||
.setPlaceholder('Folder path')
|
||||
.setValue(this.yaml?.folderPath || '')
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ export async function turnIntoFolderNote(plugin: FolderNotesPlugin, file: TFile,
|
|||
|
||||
if (!excludedFolder) {
|
||||
excludedFolderExisted = false;
|
||||
excludedFolder = new ExcludedFolder(folder.path, plugin.settings.excludeFolders.length, plugin);
|
||||
excludedFolder = new ExcludedFolder(folder.path, plugin.settings.excludeFolders.length, undefined, plugin);
|
||||
addExcludedFolder(plugin, excludedFolder);
|
||||
} else if (!excludedFolder.disableSync) {
|
||||
disabledSync = false;
|
||||
|
|
|
|||
|
|
@ -121,6 +121,7 @@ export const DEFAULT_SETTINGS: FolderNotesSettings = {
|
|||
excludeFolderDefaultSettings: {
|
||||
type: 'folder',
|
||||
path: '',
|
||||
id: crypto.randomUUID(),
|
||||
subFolders: true,
|
||||
disableSync: true,
|
||||
disableAutoCreate: true,
|
||||
|
|
@ -134,6 +135,7 @@ export const DEFAULT_SETTINGS: FolderNotesSettings = {
|
|||
excludePatternDefaultSettings: {
|
||||
type: 'pattern',
|
||||
path: '',
|
||||
id: crypto.randomUUID(),
|
||||
subFolders: true,
|
||||
disableSync: true,
|
||||
disableAutoCreate: true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue