fix(search): only show communities that are joined

Fixes #10184
This commit is contained in:
Jonathan Rainville 2024-12-20 11:26:09 -05:00
parent af6b503656
commit 60ceb07295
1 changed files with 2 additions and 1 deletions

View File

@ -163,6 +163,7 @@ method prepareLocationMenuModel*(self: Module) =
# Community sections
let communities = self.controller.getJoinedAndSpectatedCommunities()
for c in communities:
if c.joined:
items.add(self.buildLocationMenuForCommunity(c))
self.view.locationMenuModel().setItems(items)