@learnpack/learnpack 5.0.269 → 5.0.270
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/lib/commands/serve.js +1 -1
- package/package.json +1 -1
- package/src/commands/serve.ts +1 -1
- package/src/ui/_app/app.js +243 -243
- package/src/ui/app.tar.gz +0 -0
package/lib/commands/serve.js
CHANGED
@@ -515,7 +515,7 @@ class ServeCommand extends SessionCommand_1.default {
|
|
515
515
|
if (lesson.id === exercise.id) {
|
516
516
|
return Object.assign(Object.assign({}, lesson), { generated: true, status: "DONE" });
|
517
517
|
}
|
518
|
-
if (nextExercise && nextExercise.id === lesson.id &&
|
518
|
+
if (nextExercise && nextExercise.id === lesson.id && nextStarted) {
|
519
519
|
return Object.assign(Object.assign({}, lesson), { generated: false, status: "GENERATING" });
|
520
520
|
}
|
521
521
|
return Object.assign({}, lesson);
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@learnpack/learnpack",
|
3
3
|
"description": "Seamlessly build, sell and/or take interactive & auto-graded tutorials, start learning now or build a new tutorial to your audience.",
|
4
|
-
"version": "5.0.
|
4
|
+
"version": "5.0.270",
|
5
5
|
"author": "Alejandro Sanchez @alesanchezr",
|
6
6
|
"contributors": [
|
7
7
|
{
|
package/src/commands/serve.ts
CHANGED
@@ -806,7 +806,7 @@ export default class ServeCommand extends SessionCommand {
|
|
806
806
|
return { ...lesson, generated: true, status: "DONE" }
|
807
807
|
}
|
808
808
|
|
809
|
-
if (nextExercise && nextExercise.id === lesson.id &&
|
809
|
+
if (nextExercise && nextExercise.id === lesson.id && nextStarted) {
|
810
810
|
return { ...lesson, generated: false, status: "GENERATING" }
|
811
811
|
}
|
812
812
|
|