@vue-skuilder/db 0.1.34 → 0.1.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/study/SessionController.ts +14 -0
package/dist/index.js
CHANGED
|
@@ -13403,6 +13403,9 @@ var SessionController = class _SessionController extends Loggable {
|
|
|
13403
13403
|
for (const rec of this._sessionRecord) {
|
|
13404
13404
|
excludeSet.add(rec.card.card_id);
|
|
13405
13405
|
}
|
|
13406
|
+
if (this.newQ.length > 0) {
|
|
13407
|
+
excludeSet.add(this.newQ.peek(0).cardID);
|
|
13408
|
+
}
|
|
13406
13409
|
hints.excludeCards = [...excludeSet];
|
|
13407
13410
|
if (opts.hints) {
|
|
13408
13411
|
const hintsWithLabel = opts.label ? { ...opts.hints, _label: opts.label } : opts.hints;
|