Skip to content

Commit

Permalink
fix2.11 main menu org grp options
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane committed Sep 28, 2024
1 parent 81912bc commit 52c22f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckanext/pages/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ def build_pages_nav_main(*args):
for arg in args:
if arg[0] in 'home.about' and not about_menu:
continue
if arg[0] in 'home.group_index' and not org_menu:
if arg[0] in 'group.index' and not group_menu:
continue
if arg[0] in 'home.organizations_index' and not group_menu:
if arg[0] in 'organization.index' and not org_menu:
continue
new_args.append(arg)

Expand Down

0 comments on commit 52c22f0

Please sign in to comment.