diff --git a/src/utils/config.py b/src/utils/config.py index 9b35d7d3b..b55478007 100644 --- a/src/utils/config.py +++ b/src/utils/config.py @@ -1551,7 +1551,7 @@ def ask_questions_and_parse_answers( question = question_class(raw_question, context=context, hooks=hooks) if question.type == "button": if ( - not question.enabled # type: ignore + question.enabled is None # type: ignore or evaluate_simple_js_expression(question.enabled, context=context) # type: ignore ): continue