mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-11-27 09:04:56 +00:00
subspace model
This commit is contained in:
@ -329,6 +329,7 @@ class SpaceManagementBloc
|
||||
Emitter<SpaceManagementState> emit,
|
||||
) {
|
||||
final communities = List<CommunityModel>.from(previousState.communities);
|
||||
|
||||
|
||||
for (var community in communities) {
|
||||
if (community.uuid == communityUuid) {
|
||||
@ -425,7 +426,7 @@ class SpaceManagementBloc
|
||||
emit(SpaceManagementLoading());
|
||||
try {
|
||||
List<CommunityModel> communities = await _api.fetchCommunities();
|
||||
|
||||
|
||||
List<CommunityModel> updatedCommunities = await Future.wait(
|
||||
communities.map((community) async {
|
||||
List<SpaceModel> spaces =
|
||||
|
||||
Reference in New Issue
Block a user