Merged with dev

This commit is contained in:
Abdullah Alassaf
2025-01-30 12:17:06 +03:00
54 changed files with 2572 additions and 1301 deletions

View File

@ -196,8 +196,12 @@ class _SidebarWidgetState extends State<SidebarWidget> {
_handleExpansionChange(community.uuid, expanded);
},
children: hasChildren
? community.spaces.map((space) => _buildSpaceTile(space, community)).toList()
: null, // Render spaces within the community
? community.spaces
.where((space) => (space.status != SpaceStatus.deleted ||
space.status != SpaceStatus.parentDeleted))
.map((space) => _buildSpaceTile(space, community))
.toList()
: null,
);
}