修复顶栏 500:向模板注入 trading_account_label。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-20 15:26:25 +08:00
parent 6f721d1e6d
commit a257d7e369
+1
View File
@@ -5308,6 +5308,7 @@ def render_main_page(page="options", embed_mode=None):
key_rule_ctx=key_rule_ctx,
funds_fmt=format_funds_u,
options_funding_label=options_funding_label,
trading_account_label=trading_account_label,
exchange_display=_exchange_display_for_header,
options_enabled=OKX_OPTIONS_ENABLED,
trading_mode=("sim" if _sim_mode_for_header else "live"),