fix: draw community select bubble after community create (#14108)
This commit is contained in:
parent
b839502603
commit
201a5bfdfc
|
@ -500,6 +500,9 @@ proc getChannelGroups*(self: Controller): seq[ChannelGroupDto] =
|
||||||
proc getActiveSectionId*(self: Controller): string =
|
proc getActiveSectionId*(self: Controller): string =
|
||||||
result = self.activeSectionId
|
result = self.activeSectionId
|
||||||
|
|
||||||
|
proc setActiveSectionId*(self: Controller, sectionId: string) =
|
||||||
|
self.activeSectionId = sectionId
|
||||||
|
|
||||||
proc getAllChats*(self: Controller): seq[ChatDto] =
|
proc getAllChats*(self: Controller): seq[ChatDto] =
|
||||||
result = self.chatService.getAllChats()
|
result = self.chatService.getAllChats()
|
||||||
|
|
||||||
|
@ -593,4 +596,3 @@ proc asyncGetRevealedAccountsForAllMembers*(self: Controller, communityId: strin
|
||||||
|
|
||||||
proc asyncReevaluateCommunityMembersPermissions*(self: Controller, communityId: string) =
|
proc asyncReevaluateCommunityMembersPermissions*(self: Controller, communityId: string) =
|
||||||
self.communityService.asyncReevaluateCommunityMembersPermissions(communityId)
|
self.communityService.asyncReevaluateCommunityMembersPermissions(communityId)
|
||||||
|
|
||||||
|
|
|
@ -821,6 +821,7 @@ method setActiveSection*[T](self: Module[T], item: SectionItem, skipSavingInSett
|
||||||
if(item.isEmpty()):
|
if(item.isEmpty()):
|
||||||
echo "section is empty and cannot be made as active one"
|
echo "section is empty and cannot be made as active one"
|
||||||
return
|
return
|
||||||
|
self.controller.setActiveSectionId(item.id)
|
||||||
self.activeSectionSet(item.id, skipSavingInSettings)
|
self.activeSectionSet(item.id, skipSavingInSettings)
|
||||||
|
|
||||||
method setActiveSectionById*[T](self: Module[T], id: string) =
|
method setActiveSectionById*[T](self: Module[T], id: string) =
|
||||||
|
|
Loading…
Reference in New Issue