Skip to content

Commit

Permalink
chore: Rename manage space permissions form.
Browse files Browse the repository at this point in the history
  • Loading branch information
osala-eng committed Aug 30, 2023
1 parent 422794a commit 3694833
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/utils/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ def _render_edit_space_details(space_data: Tuple, data_source: Tuple) -> None:
_render_edit_space_details_form(space_data, data_source)


def _manage_space_permissions_form(space_data: Tuple) -> None:
def _render_manage_space_permissions_form(space_data: Tuple) -> None:
id_, *_ = space_data
permissions = get_shared_space_permissions(id_)

Expand Down Expand Up @@ -636,7 +636,7 @@ def _render_manage_space_permissions(space_data: Tuple) -> None:
id_, *_ = space_data

if st.button("Permissions", key=f"manage_space_permissions_{id_}_button"):
_manage_space_permissions_form(space_data)
_render_manage_space_permissions_form(space_data)


def list_spaces_ui(admin_access: bool = False) -> None:
Expand Down Expand Up @@ -687,7 +687,7 @@ def _editor_view(q_param: str) -> None:
with tab_edit:
_render_edit_space_details_form(s, ds)
with tab_permissions:
_manage_space_permissions_form(s)
_render_manage_space_permissions_form(s)


def admin_docs_ui(q_param: str = None) -> None:
Expand Down

0 comments on commit 3694833

Please sign in to comment.