Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

buddy_list: Rename formatted_matching_users_count for clarity.

evykassirera6c8e0afbc80
diff --git a/web/src/buddy_list.ts b/web/src/buddy_list.ts
index d211f32324f..5969c56087b 100644
--- a/web/src/buddy_list.ts
+++ b/web/src/buddy_list.ts
@@ -403,14 +403,14 @@ export class BuddyList extends BuddyListConf {
total_human_subscribers_count - all_participant_ids.size;
const formatted_participants_count = get_formatted_sub_count(all_participant_ids.size);
- const formatted_sub_users_count = get_formatted_sub_count(subscriber_section_user_count);
+ const formatted_matching_users_count = get_formatted_sub_count(subscriber_section_user_count);
const formatted_other_users_count = get_formatted_sub_count(other_users_count);
$("#buddy-list-participants-container .buddy-list-heading-user-count").text(
formatted_participants_count,
);
$("#buddy-list-users-matching-view-container .buddy-list-heading-user-count").text(
- formatted_sub_users_count,
+ formatted_matching_users_count,
);
$("#buddy-list-other-users-container .buddy-list-heading-user-count").text(
formatted_other_users_count,