Fix Jinja conflict: rename display meta items to entries

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-08 20:38:52 +08:00
parent 68e03ccd97
commit 0b91d26f71
5 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -113,6 +113,6 @@ def display_meta_for_ui() -> list[dict[str, Any]]:
"show_settings_options_transfer",
]
return [
{"group": "顶栏导航", "items": [{"key": k, "label": DISPLAY_LABELS[k]} for k in nav_keys]},
{"group": "系统设置区块", "items": [{"key": k, "label": DISPLAY_LABELS[k]} for k in settings_keys]},
{"group": "顶栏导航", "entries": [{"key": k, "label": DISPLAY_LABELS[k]} for k in nav_keys]},
{"group": "系统设置区块", "entries": [{"key": k, "label": DISPLAY_LABELS[k]} for k in settings_keys]},
]