Skip to content

Commit

Permalink
fix: remove build-time conditions in settings
Browse files Browse the repository at this point in the history
  • Loading branch information
hinakhadim committed Oct 8, 2024
1 parent c177f70 commit 3e9ac7f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tutorindigo/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,17 +193,13 @@ def _override_openedx_docker_image(
if filename in PIPELINE['JAVASCRIPT']:
PIPELINE['JAVASCRIPT'][filename]['source_filenames'] += dark_theme_filepath
{% if INDIGO_ENABLE_DARK_TOGGLE %}
MFE_CONFIG['INDIGO_ENABLE_DARK_TOGGLE'] = True
{% endif %}
MFE_CONFIG['INDIGO_ENABLE_DARK_TOGGLE'] = {{ INDIGO_ENABLE_DARK_TOGGLE }}
""",
),
(
"openedx-lms-production-settings",
"""
{% if INDIGO_ENABLE_DARK_TOGGLE %}
MFE_CONFIG['INDIGO_ENABLE_DARK_TOGGLE'] = True
{% endif %}
MFE_CONFIG['INDIGO_ENABLE_DARK_TOGGLE'] = {{ INDIGO_ENABLE_DARK_TOGGLE }}
""",
),
]
Expand Down

0 comments on commit 3e9ac7f

Please sign in to comment.