feat(vocab): implement daily hard vocab limit handling in practice dialog

This commit is contained in:
Torsten Schulz (local)
2026-08-21 09:03:40 +02:00
parent ad02dd006f
commit 2f4657c0fb
2 changed files with 24 additions and 1 deletions

View File

@@ -946,7 +946,12 @@ export default {
this.$refs.practiceDialog?.open?.({
courseId: this.courseId,
initialPool: this.srsDueItems,
initialHardPool: this.hardVocabList,
srsMode: true,
onDailyHardLimitReached: async () => {
await this.refreshHardVocabList();
this.openHardPractice();
},
onClose: () => this.loadSrsDueItems()
});
},