diff --git a/src/flashcard-modal.ts b/src/flashcard-modal.ts index 78756011..13504408 100644 --- a/src/flashcard-modal.ts +++ b/src/flashcard-modal.ts @@ -321,9 +321,11 @@ export class FlashcardModal extends Modal { this.currentDeck.nextCard(this); } - buryRelatedCards(tillNextDay: boolean) { - if (tillNextDay) + async buryRelatedCards(tillNextDay: boolean) { + if (tillNextDay) { this.plugin.data.buryList.push(cyrb53(this.currentCard.cardText)); + await this.plugin.savePluginData(); + } for (let relatedCard of this.currentCard.relatedCards) { let dueIdx = this.currentDeck.dueFlashcards.indexOf(relatedCard);