style: fix linting issues met ESLint
This commit is contained in:
parent
a69e2625af
commit
bdbfe380be
4 changed files with 5 additions and 5 deletions
|
@ -99,7 +99,7 @@ async function convertNodes(nodesToLearningObjects: Map<LearningPathNode, Filter
|
|||
version: learningObject.version,
|
||||
transitions: node.transitions
|
||||
.filter(trans => !personalizedFor || isTransitionPossible(trans, lastSubmission)) // If we want a personalized learning path, remove all transitions that aren't possible.
|
||||
.map((trans, i) => convertTransition(trans, i, nodesToLearningObjects)), // then convert all the transition
|
||||
.map((trans, i) => convertTransition(trans, i, nodesToLearningObjects)), // Then convert all the transition
|
||||
};
|
||||
})
|
||||
.toArray();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue