Skip to content

Commit

Permalink
fix: #64
Browse files Browse the repository at this point in the history
  • Loading branch information
lazyloong committed Oct 19, 2024
1 parent a45ac9f commit 7021109
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"author": "lazyloong",

"minAppVersion": "1.0.0",
"version": "2.27.5"
"version": "2.27.6"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"obsidian": "github:obsidianmd/obsidian-api",
"obsidian-plugin-cli": "^0.9.0",
"templater": "github:SilentVoid13/Templater",
"typescript": "^5.3.3"
"typescript": "^5.4.3"
},
"dependencies": {
"lodash": "^4.17.21"
Expand Down
7 changes: 6 additions & 1 deletion src/modal/fileModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ export default class FileModal extends FuzzyModal<Item> {
});
}
this.setInstructions(prompt);

}
addTagInput(): void {
let inputContainerEl = this.modalEl.querySelector(
".prompt-input-container"
) as HTMLInputElement;
Expand All @@ -131,6 +132,10 @@ export default class FileModal extends FuzzyModal<Item> {
});
if (this.plugin.settings.file.searchWithTag) this.tagInput.show();
}
onOpen(): void {
super.onOpen();
if (!this.tagInput) this.addTagInput();
}
onClose(): void {
super.onClose();
this.tags = [];
Expand Down

0 comments on commit 7021109

Please sign in to comment.