From 319063438071b43c102f193f348fc387b65e93d7 Mon Sep 17 00:00:00 2001 From: "Adolfo R. Brandes" Date: Thu, 7 Dec 2023 11:59:58 -0300 Subject: [PATCH] Fix: Fix get_mfe() usage for learner-dashboard --- tutormfe/patches/openedx-lms-common-settings | 3 ++- tutormfe/patches/openedx-lms-development-settings | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tutormfe/patches/openedx-lms-common-settings b/tutormfe/patches/openedx-lms-common-settings index e8b65fa..328b25e 100644 --- a/tutormfe/patches/openedx-lms-common-settings +++ b/tutormfe/patches/openedx-lms-common-settings @@ -10,6 +10,7 @@ FEATURES['ENABLE_AUTHN_MICROFRONTEND'] = True {% endif %} {% if get_mfe("communications") %} FEATURES['ENABLE_NEW_BULK_EMAIL_EXPERIENCE'] = True -{% elif app_name == "learner-dashboard" %} +{% endif %} +{% if get_mfe("learner-dashboard") %} LEARNER_HOME_MFE_REDIRECT_PERCENTAGE = 100 {% endif %} diff --git a/tutormfe/patches/openedx-lms-development-settings b/tutormfe/patches/openedx-lms-development-settings index ea6bf6e..37e188b 100644 --- a/tutormfe/patches/openedx-lms-development-settings +++ b/tutormfe/patches/openedx-lms-development-settings @@ -69,7 +69,6 @@ MFE_CONFIG["ACCOUNT_PROFILE_URL"] = "http://{{ MFE_HOST }}:{{ get_mfe("profile") {% if get_mfe("communications") %} COMMUNICATIONS_MICROFRONTEND_URL = "http://{{ MFE_HOST }}:{{ get_mfe("communications")["port"] }}/communications" ->>>>>>> master MFE_CONFIG["SCHEDULE_EMAIL_SECTION"] = True {% endif %}