Skip to content

Commit

Permalink
fix: remove reference to old account toggles
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmed Khalid committed Feb 17, 2025
1 parent a1ae597 commit 449294c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- [Bugfix] Remove reference to old account toggles. (by @ahmed-arb)
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from django.utils.translation import gettext as _

from openedx.core.djangoapps.user_api.accounts.image_helpers import get_profile_image_urls_for_user
from openedx.core.djangoapps.user_api.accounts.toggles import should_redirect_to_order_history_microfrontend
from openedx.features.enterprise_support.utils import get_enterprise_learner_generic_name, get_enterprise_learner_portal
%>

Expand All @@ -23,7 +22,7 @@
enterprise_customer_portal = get_enterprise_learner_portal(request)
## Enterprises with the learner portal enabled should not show order history, as it does
## not apply to the learner's method of purchasing content.
should_show_order_history = should_redirect_to_order_history_microfrontend() and not enterprise_customer_portal
should_show_order_history = not enterprise_customer_portal
%>

<!-- NEW IN INDIGO update user icon -->
Expand Down

0 comments on commit 449294c

Please sign in to comment.