Skip to content

Commit

Permalink
Reset top menu ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoooo committed Feb 8, 2022
1 parent f5f3c01 commit aaa4563
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ensembl/production/portal/templatetags/portal.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ def get_top_menu(user: AbstractUser, admin_site: str = "admin") -> List[Dict]:
{"name": child.app_name, "url": child.get_admin_url(), "children": None, "icon": "portal/img/logo.png"}
for child in AppView.objects.user_apps(user)
]
menu.insert(len(menu) - 2 if len(menu) > 2 else 1,
{
menu.append({
"name": "Self Services",
"url": "#",
"children": children,
Expand Down

0 comments on commit aaa4563

Please sign in to comment.