From 830725254f62d8ad850d17e99b331eb44c64ec68 Mon Sep 17 00:00:00 2001 From: hannathkadher Date: Wed, 22 Jan 2025 17:22:58 +0400 Subject: [PATCH] removed logs --- .../all_spaces/bloc/space_management_bloc.dart | 2 -- .../all_spaces/widgets/community_structure_widget.dart | 4 +--- lib/services/space_model_mang_api.dart | 1 - 3 files changed, 1 insertion(+), 6 deletions(-) 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),