Skip to content

Commit

Permalink
Merge pull request ObsidianToAnki#3 from MisterPresident/MisterPresid…
Browse files Browse the repository at this point in the history
…ent-patch-1

Update files-manager.ts fix ObsidianToAnki#408
  • Loading branch information
MisterPresident authored Aug 5, 2023
2 parents 9e7853d + e7d0767 commit 63fbba8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/files-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,10 @@ export class FileManager {
temp = []
console.info("Requesting tags to be replaced...")
for (let file of this.ownFiles) {
temp.push(file.getClearTags())
let rem = file.getClearTags()
if(rem.params.notes.length) {
temp.push(rem))
}
}
requests.push(AnkiConnect.multi(temp))
temp = []
Expand Down

0 comments on commit 63fbba8

Please sign in to comment.