passed tags to space model page

This commit is contained in:
hannathkadher
2025-03-05 17:16:00 +04:00
parent c9427b35be
commit 213ec329c0
5 changed files with 26 additions and 24 deletions

View File

@ -247,7 +247,7 @@ class SpaceManagementBloc extends Bloc<SpaceManagementEvent, SpaceManagementStat
communities: List<CommunityModel>.from(prevCommunities),
products: _cachedProducts ?? [],
spaceModels: prevSpaceModels,
allTags: _cachedTags));
allTags: _cachedTags ?? []));
return;
}

View File

@ -37,7 +37,7 @@ class BlankState extends SpaceManagementState {
final List<CommunityModel> communities;
final List<ProductModel> products;
List<SpaceTemplateModel>? spaceModels;
final List<Tag>? allTags;
final List<Tag> allTags;
BlankState(
{required this.communities, required this.products, this.spaceModels, required this.allTags});