Remove contract profile from navigation and retire its routes.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-26 03:32:30 +08:00
parent cababd67f5
commit 42f2dad52a
6 changed files with 2 additions and 44 deletions
-2
View File
@@ -12,14 +12,12 @@ from typing import Callable
# 可在系统设置中开关的导航项
NAV_TOGGLES: dict[str, str] = {
"fees": "手续费配置",
"contract": "品种简介",
"plans": "开单计划",
"market": "行情K线",
"strategy": "策略交易",
}
DEFAULT_NAV: dict[str, bool] = {k: True for k in NAV_TOGGLES}
DEFAULT_NAV["contract"] = False
def get_nav_items(get_setting: Callable[[str, str], str]) -> dict[str, bool]: