Skip to content

Commit

Permalink
feat: use general settings instead of site_configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-canon committed Dec 3, 2024
1 parent 7c98a82 commit e33bb86
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def account_settings_context(request):
'show_dashboard_tabs': True,
'order_history': user_orders,
'disable_order_history_tab': (
configuration_helpers.get_value('DISABLE_ORDER_HISTORY_TAB', False)
getattr(settings, 'DISABLE_ORDER_HISTORY_TAB', False)
or should_redirect_to_order_history_microfrontend()
),
'show_linked_accounts_tab': should_show_linked_accounts_tab(),
Expand Down

0 comments on commit e33bb86

Please sign in to comment.