From 727efde55c18e240a2c43655ea7788e91cc46f2c Mon Sep 17 00:00:00 2001 From: Ahtisham Shahid Date: Tue, 8 Feb 2022 12:23:23 +0500 Subject: [PATCH] Revert "fix: Hide headers and footer in disucssion mfe UI in edx-platform (#29874)" (#29885) This reverts commit 7f9dbfc8e72d97cc13cfca78abbf69450084bada. --- lms/djangoapps/discussion/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/discussion/views.py b/lms/djangoapps/discussion/views.py index 6f4a4ed22e..cc5f02265f 100644 --- a/lms/djangoapps/discussion/views.py +++ b/lms/djangoapps/discussion/views.py @@ -706,7 +706,7 @@ def _discussions_mfe_context(query_params: Dict, course_key: CourseKey, user: Us A URL for the MFE experience if active for the current request or None """ experience_param = query_params.get("discussions_experience", "").lower() - mfe_url = get_discussions_mfe_url(course_key=course_key, view='in_context') + mfe_url = get_discussions_mfe_url(course_key) if not mfe_url: return {"show_banner": False, "show_mfe": False} show_banner = bool(has_access(user, 'staff', course_key))