mirror of
https://github.com/logancyang/obsidian-copilot.git
synced 2026-07-22 07:50:24 +00:00
fix: empty tags result as empty list even if folder is good (#304)
This commit is contained in:
parent
2bb2264fa8
commit
4635d5ae66
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ const Chat: React.FC<ChatProps> = ({
|
|||
// Recursively get all note TFiles in the path
|
||||
noteFiles = await getNotesFromPath(vault, settings.chatNoteContextPath);
|
||||
}
|
||||
if (settings.chatNoteContextTags) {
|
||||
if (settings.chatNoteContextTags.length > 0) { //prevent overriding chatNoteContextPath if not tags are used
|
||||
// Get all notes with the specified tags
|
||||
// If path is provided, get all notes with the specified tags in the path
|
||||
// If path is not provided, get all notes with the specified tags
|
||||
|
|
|
|||
Loading…
Reference in a new issue