feat(vocab): implement daily hard vocab limit handling in practice dialog
This commit is contained in:
@@ -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()
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user