fix: draw community select bubble after community create (#14108)

This commit is contained in:
Mykhailo Prakhov 2024-03-21 22:02:46 +01:00 committed by GitHub
parent b839502603
commit 201a5bfdfc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

@ -500,6 +500,9 @@ proc getChannelGroups*(self: Controller): seq[ChannelGroupDto] =
proc getActiveSectionId*(self: Controller): string =
result = self.activeSectionId
proc setActiveSectionId*(self: Controller, sectionId: string) =
self.activeSectionId = sectionId
proc getAllChats*(self: Controller): seq[ChatDto] =
result = self.chatService.getAllChats()
@ -593,4 +596,3 @@ proc asyncGetRevealedAccountsForAllMembers*(self: Controller, communityId: strin
proc asyncReevaluateCommunityMembersPermissions*(self: Controller, communityId: string) =
self.communityService.asyncReevaluateCommunityMembersPermissions(communityId)

View File

@ -821,6 +821,7 @@ method setActiveSection*[T](self: Module[T], item: SectionItem, skipSavingInSett
if(item.isEmpty()):
echo "section is empty and cannot be made as active one"
return
self.controller.setActiveSectionId(item.id)
self.activeSectionSet(item.id, skipSavingInSettings)
method setActiveSectionById*[T](self: Module[T], id: string) =