fixup weird behavior when leaving spaces
This commit is contained in:
parent
ed84410039
commit
485383e99c
1 changed files with 4 additions and 1 deletions
|
|
@ -77,7 +77,10 @@ class SpacesController extends AsyncNotifier<IList<Space>> {
|
|||
);
|
||||
}
|
||||
|
||||
final spaces = topLevelSpaceIds.map(buildSpace).toIList();
|
||||
final spaces = topLevelSpaceIds
|
||||
.where(rooms.containsKey)
|
||||
.map(buildSpace)
|
||||
.toIList();
|
||||
|
||||
final usedRooms = spaces
|
||||
.expand(
|
||||
|
|
|
|||
Loading…
Reference in a new issue