diff --git a/lib/pages/spaces_management/all_spaces/bloc/space_management_bloc.dart b/lib/pages/spaces_management/all_spaces/bloc/space_management_bloc.dart index 7e9c6ce3..ff584f52 100644 --- a/lib/pages/spaces_management/all_spaces/bloc/space_management_bloc.dart +++ b/lib/pages/spaces_management/all_spaces/bloc/space_management_bloc.dart @@ -408,9 +408,7 @@ class SpaceManagementBloc Future> saveSpacesHierarchically( List spaces, String communityUuid) async { - print("space"); final orderedSpaces = flattenHierarchy(spaces); - print("parent"); final parentsToDelete = orderedSpaces.where((space) => space.status == SpaceStatus.deleted && diff --git a/lib/pages/spaces_management/all_spaces/widgets/community_structure_widget.dart b/lib/pages/spaces_management/all_spaces/widgets/community_structure_widget.dart index dc0ad1cd..f569d252 100644 --- a/lib/pages/spaces_management/all_spaces/widgets/community_structure_widget.dart +++ b/lib/pages/spaces_management/all_spaces/widgets/community_structure_widget.dart @@ -463,9 +463,7 @@ class _CommunityStructureAreaState extends State { _markChildrenAsDeleted(space); } } - for (var space in spaces) { - print("space ${space.name} and ${space.status}"); - } + _removeConnectionsForDeletedSpaces(); }); } diff --git a/lib/services/space_model_mang_api.dart b/lib/services/space_model_mang_api.dart index 625397c7..eb896432 100644 --- a/lib/services/space_model_mang_api.dart +++ b/lib/services/space_model_mang_api.dart @@ -37,7 +37,6 @@ class SpaceModelManagementApi { Future updateSpaceModel( CreateSpaceTemplateBodyModel spaceModel, String spaceModelUuid) async { - print(spaceModel.toJson().toString()); final response = await HTTPService().put( path: ApiEndpoints.updateSpaceModel .replaceAll('{projectId}', TempConst.projectId).replaceAll('{spaceModelUuid}', spaceModelUuid),