mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
buddy_list: Rename list element to not be named container.
This was confusing because there are other elements named e.g. "#buddy-list-users-matching-view-container", which are distinct from "#buddy-list-users-matching-view", and the elements with the latter id should not be named with container in the variable name.
This commit is contained in:
@@ -127,8 +127,8 @@ export function build_user_sidebar(): number[] | undefined {
|
||||
|
||||
buddy_list.populate({all_user_ids});
|
||||
|
||||
render_empty_user_list_message_if_needed(buddy_list.$users_matching_view_container);
|
||||
render_empty_user_list_message_if_needed(buddy_list.$other_users_container);
|
||||
render_empty_user_list_message_if_needed(buddy_list.$users_matching_view_list);
|
||||
render_empty_user_list_message_if_needed(buddy_list.$other_users_list);
|
||||
|
||||
return all_user_ids; // for testing
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user