fix(community-chat): don't switch to the first channel when reordering
Fixes #6574
This commit is contained in:
parent
080966cc19
commit
e5f9177bcd
|
@ -502,7 +502,6 @@ method setFirstChannelAsActive*(self: Module) =
|
|||
|
||||
method onReorderChatOrCategory*(self: Module, chatOrCatId: string, position: int) =
|
||||
self.view.chatsModel().reorder(chatOrCatId, position)
|
||||
self.setFirstChannelAsActive()
|
||||
|
||||
method onCategoryNameChanged*(self: Module, category: Category) =
|
||||
self.view.chatsModel().renameItem(category.id, category.name)
|
||||
|
|
Loading…
Reference in New Issue