Compare commits

..

View file

@ -81,6 +81,7 @@ class SpacesController extends AsyncNotifier<IList<Space>> {
room: room, room: room,
children: .new( children: .new(
collectDescendants(childId) collectDescendants(childId)
.where((id) => !childrenById.containsKey(id))
.map((id) => rooms[id]) .map((id) => rooms[id])
.nonNulls, .nonNulls,
), ),