fix: restore control center home
This commit is contained in:
@@ -49,11 +49,11 @@ def _filter_ai_agent_admin_menus(menus: List[Menu]) -> List[Menu]:
|
||||
|
||||
|
||||
def _normalize_ai_agent_admin_menu(menu: Menu) -> None:
|
||||
"""Keep the retained control center on the lightweight admin dashboard."""
|
||||
"""Keep the retained control center on the original configurable dashboard."""
|
||||
if menu.name == "ControlCenter":
|
||||
menu.path = "/dashboard/workspace"
|
||||
menu.component = "/dashboard/workspace/index"
|
||||
menu.query = None
|
||||
menu.path = "/page-render/main_home"
|
||||
menu.component = "/_core/page-render/index"
|
||||
menu.query = {"pageCode": "main_home"}
|
||||
|
||||
|
||||
class MenuService(BaseService[Menu, MenuCreate, MenuUpdate]):
|
||||
|
||||
Reference in New Issue
Block a user