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 Nov 19, 2024
1 parent a863c3c commit 53ba9eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,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()
),
'enable_account_deletion': configuration_helpers.get_value(
Expand Down

0 comments on commit 53ba9eb

Please sign in to comment.