each task (step) has its own id within a tutorial

This commit is contained in:
Delucse
2020-09-13 16:02:47 +02:00
parent 6f77b460cb
commit 7300cade5d
9 changed files with 59 additions and 23 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ class SolutionCheck extends Component {
const tutorial = tutorials.filter(tutorial => tutorial.id === this.props.currentTutorialId)[0];
const step = tutorial.steps[this.props.activeStep];
var msg = checkXml(step.xml, this.props.xml);
this.props.tutorialCheck(msg.type);
this.props.tutorialCheck(msg.type, step);
this.setState({ msg, open: true });
}