Do not show video_upload_pipeline advanced setting if the feature is disabled.
This commit is contained in:
@@ -60,6 +60,10 @@ class CourseMetadata(object):
|
|||||||
if not settings.FEATURES.get('ENABLE_EDXNOTES'):
|
if not settings.FEATURES.get('ENABLE_EDXNOTES'):
|
||||||
filtered_list.append('edxnotes')
|
filtered_list.append('edxnotes')
|
||||||
|
|
||||||
|
# Do not show video_upload_pipeline if the feature is disabled.
|
||||||
|
if not settings.FEATURES.get('ENABLE_VIDEO_UPLOAD_PIPELINE'):
|
||||||
|
filtered_list.append('video_upload_pipeline')
|
||||||
|
|
||||||
return filtered_list
|
return filtered_list
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
@@ -196,5 +196,4 @@ class AdvancedSettingsPage(CoursePage):
|
|||||||
'static_asset_path',
|
'static_asset_path',
|
||||||
'text_customization',
|
'text_customization',
|
||||||
'annotation_storage_url',
|
'annotation_storage_url',
|
||||||
'video_upload_pipeline'
|
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user