diff --git a/web-app/src/containers/Tutorial/containers/Review.tsx b/web-app/src/containers/Tutorial/containers/Review.tsx
index 30789307..b8618efc 100644
--- a/web-app/src/containers/Tutorial/containers/Review.tsx
+++ b/web-app/src/containers/Tutorial/containers/Review.tsx
@@ -93,16 +93,19 @@ const ReviewPage = (props: Props) => {
return show(step.status) ? (
{adminMode && (
-
-
-
+ <>
+
+
+
+
+ >
)}
({
...level,
status: 'COMPLETE',
@@ -90,6 +92,7 @@ const formatLevels = ({ progress, position, levels, testStatus }: Input): Output
})),
}))
+ // flag all levels after as incomplete
const incompleted: T.LevelUI[] = levels.slice(levelIndex + 1, levels.length).map((level: TT.Level) => ({
...level,
status: 'INCOMPLETE',
diff --git a/web-app/src/services/state/machine.ts b/web-app/src/services/state/machine.ts
index 284de98b..7ba98d74 100644
--- a/web-app/src/services/state/machine.ts
+++ b/web-app/src/services/state/machine.ts
@@ -141,6 +141,12 @@ export const createMachine = (options: any) => {
Tutorial: {
id: 'tutorial',
initial: 'Level',
+ on: {
+ RUN_RESET_TO_POSITION: {
+ actions: ['runResetToPosition'],
+ target: 'Tutorial.Level',
+ },
+ },
states: {
Level: {
initial: 'Load',
@@ -171,9 +177,6 @@ export const createMachine = (options: any) => {
RUN_RESET: {
actions: ['runReset'],
},
- RUN_RESET_TO_POSITION: {
- actions: ['runResetToPosition'],
- },
KEY_PRESS_ENTER: {
actions: ['runTest'],
},