mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(tools): allow quizzes for block-based super blocks (#65044)
Co-authored-by: Jeevankumar-S <jeevenkumar2003@email.com>
This commit is contained in:
@@ -293,9 +293,7 @@ void getAllBlocks()
|
||||
message: 'Choose a block label',
|
||||
default: BlockLabel.learn,
|
||||
type: 'list',
|
||||
choices: Object.values(BlockLabel),
|
||||
when: (answers: CreateBlockArgs) =>
|
||||
chapterBasedSuperBlocks.includes(answers.superBlock)
|
||||
choices: Object.values(BlockLabel)
|
||||
},
|
||||
{
|
||||
name: 'block',
|
||||
|
||||
Reference in New Issue
Block a user