ui(sidebar): 아이콘/글자 크기 확대 + 운영·관리 그룹 묶음 정렬
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -339,6 +339,9 @@ def build_erp_nav(
|
||||
"disabled_reason": "준비중" if m["status"] != "ready" else None,
|
||||
}
|
||||
)
|
||||
# 같은 그룹끼리 묶이도록 정렬(그룹 헤더 중복 방지). 그룹 내 순서는 유지(stable).
|
||||
group_order = {"ERP": 0, "운영": 1, "관리": 2}
|
||||
items.sort(key=lambda it: group_order.get(it["group"], 9))
|
||||
for it in items:
|
||||
it["active"] = it["key"] == active
|
||||
return items
|
||||
|
||||
Reference in New Issue
Block a user