diff --git a/web/utils/layout.py b/web/utils/layout.py index 55d6c78b..5580b0f3 100644 --- a/web/utils/layout.py +++ b/web/utils/layout.py @@ -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_) @@ -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: @@ -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: