Skip to content

Commit

Permalink
Merge pull request #4176 from opsmill/pog-move-credentials-in-menu
Browse files Browse the repository at this point in the history
Move credentials objects within the menu to the admin section
  • Loading branch information
ogenstad authored Aug 26, 2024
2 parents df00057 + c894cfc commit 2ad0441
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions backend/infrahub/api/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,6 @@ async def get_menu(branch: Branch = Depends(get_branch_dep)) -> list[InterfaceMe
unified_storage = InterfaceMenu(
title="Unified Storage",
children=[
InterfaceMenu(
title="Credentials",
path=f"/objects/{InfrahubKind.CREDENTIAL}",
icon=_extract_node_icon(full_schema[InfrahubKind.CREDENTIAL]),
),
InterfaceMenu(title="Schema", path="/schema", icon="mdi:file-code"),
InterfaceMenu(
title="Repository",
Expand Down Expand Up @@ -207,6 +202,11 @@ async def get_menu(branch: Branch = Depends(get_branch_dep)) -> list[InterfaceMe
path=f"/objects/{InfrahubKind.GENERICACCOUNT}",
icon=_extract_node_icon(full_schema[InfrahubKind.GENERICACCOUNT]),
),
InterfaceMenu(
title="Credentials",
path=f"/objects/{InfrahubKind.CREDENTIAL}",
icon=_extract_node_icon(full_schema[InfrahubKind.CREDENTIAL]),
),
InterfaceMenu(
title="Webhooks",
children=[
Expand Down

0 comments on commit 2ad0441

Please sign in to comment.