🐛 (backlinks) no reset for backlinks

This commit is contained in:
2021-06-20 22:17:23 +02:00
parent 1ef031c196
commit 5e6efd1ba3
4 changed files with 103 additions and 69 deletions

View File

@@ -19,10 +19,12 @@ export const useSpacedRepetitionCards = () => {
const cards = asyncComputed(async () => {
const cards: Card[] = []
for (const cardFile of cardFiles.value) {
if (!cardFile.sha) {
continue
}
const { getRawContent } = useFile(cardFile.sha, false)
const content = await getRawContent()
@@ -35,6 +37,7 @@ export const useSpacedRepetitionCards = () => {
references: renderString(references)
})
}
return cards
}, [])