fix(tools): allow quizzes for block-based super blocks (#65044)

Co-authored-by: Jeevankumar-S <jeevenkumar2003@email.com>
This commit is contained in:
Jeevankumar S
2026-01-09 01:24:34 +05:30
committed by GitHub
parent 38ba5f58eb
commit aa5665f8b3
@@ -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',