Skip to content

Commit

Permalink
fix(UI): hide ML Engineering section for none admins
Browse files Browse the repository at this point in the history
  • Loading branch information
janaka committed Feb 26, 2024
1 parent 110f0ea commit 51e2993
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/utils/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ def __no_staff_menu() -> None:
@tracer.start_as_current_span("__no_admin_menu")
def __no_admin_menu() -> None:
hide_pages(["Admin_Section"])
hide_pages(["ML Engineering"])


def __embed_page_config() -> None:
Expand Down

0 comments on commit 51e2993

Please sign in to comment.