@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.mjs
CHANGED
|
@@ -13301,6 +13301,9 @@ var SessionController = class _SessionController extends Loggable {
|
|
|
13301
13301
|
for (const rec of this._sessionRecord) {
|
|
13302
13302
|
excludeSet.add(rec.card.card_id);
|
|
13303
13303
|
}
|
|
13304
|
+
if (this.newQ.length > 0) {
|
|
13305
|
+
excludeSet.add(this.newQ.peek(0).cardID);
|
|
13306
|
+
}
|
|
13304
13307
|
hints.excludeCards = [...excludeSet];
|
|
13305
13308
|
if (opts.hints) {
|
|
13306
13309
|
const hintsWithLabel = opts.label ? { ...opts.hints, _label: opts.label } : opts.hints;
|