mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-16 01:56:24 +00:00
remove unused code
This commit is contained in:
@ -32,9 +32,6 @@ class LinkSpaceToModelBloc
|
||||
List<String> spacesList =
|
||||
spaceBloc.state.selectedCommunityAndSpaces[communityId] ?? [];
|
||||
spacesListIds = spacesList;
|
||||
for (var spaceId in spacesList) {
|
||||
print('spaceId===$spaceId');
|
||||
}
|
||||
}
|
||||
hasSelectedSpaces =
|
||||
spaceBloc.state.selectedCommunities.any((communityId) {
|
||||
@ -43,12 +40,12 @@ class LinkSpaceToModelBloc
|
||||
return spacesList.isNotEmpty;
|
||||
});
|
||||
if (hasSelectedSpaces) {
|
||||
print("At least one space is selected.");
|
||||
debugPrint("At least one space is selected.");
|
||||
} else {
|
||||
print("No spaces selected.");
|
||||
debugPrint("No spaces selected.");
|
||||
}
|
||||
} catch (e) {
|
||||
print("Error in _getSpaceIds: $e");
|
||||
debugPrint("Error in _getSpaceIds: $e");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user