feat(curriculum): control loop-protect (#51542)

This commit is contained in:
Oliver Eyton-Williams
2023-09-19 17:51:43 +02:00
committed by GitHub
parent e6867fe7ba
commit e149b09087
16 changed files with 62 additions and 23 deletions
@@ -93,6 +93,8 @@ exports.createChallengePages = function (createPage) {
return function ({ node: { challenge } }, index, allChallengeEdges) {
const {
dashedName,
disableLoopProtectTests,
disableLoopProtectPreview,
certification,
superBlock,
block,
@@ -113,6 +115,8 @@ exports.createChallengePages = function (createPage) {
blockHashSlug,
dashedName,
certification,
disableLoopProtectTests,
disableLoopProtectPreview,
superBlock,
block,
isFirstStep: getIsFirstStepInBlock(index, allChallengeEdges),