mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +00:00
buddy_list: Always update section hiddenness on populate.
We need to do this even when searching users, because it's possible to change narrows while searching for users.
This commit is contained in:
@@ -316,8 +316,8 @@ export class BuddyList extends BuddyListConf {
|
||||
$("#buddy-list-other-users-container .view-all-users-link").remove();
|
||||
if (!buddy_data.get_is_searching_users()) {
|
||||
this.render_view_user_list_links();
|
||||
this.display_or_hide_sections();
|
||||
}
|
||||
this.display_or_hide_sections();
|
||||
|
||||
// `populate` always rerenders all user rows, so we need new load handlers.
|
||||
// This logic only does something is a user has enabled the setting to
|
||||
|
||||
Reference in New Issue
Block a user