fixed issues in create space and duplicate

This commit is contained in:
hannathkadher
2025-02-02 23:16:34 +04:00
parent 91dfd53477
commit e6e46be9b4
7 changed files with 90 additions and 29 deletions

View File

@ -179,6 +179,7 @@ class SpaceManagementBloc
final updatedCommunities =
await Future.wait(communities.map((community) async {
final spaces = await _fetchSpacesForCommunity(community.uuid);
return CommunityModel(
uuid: community.uuid,
createdAt: community.createdAt,
@ -313,6 +314,7 @@ class SpaceManagementBloc
SelectSpaceEvent event,
Emitter<SpaceManagementState> emit,
) {
_handleCommunitySpaceStateUpdate(
emit: emit,
selectedCommunity: event.selectedCommunity,