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: Differentiate updating and changing to an undefined filter.

evykassirere5dd75baf009
diff --git a/web/src/buddy_list.ts b/web/src/buddy_list.ts
index 15c8ce6f641..7cc2b9f2402 100644
--- a/web/src/buddy_list.ts
+++ b/web/src/buddy_list.ts
@@ -167,7 +167,7 @@ export class BuddyList extends BuddyListConf {
$participants_list = $(this.participants_list_selector);
$users_matching_view_list = $(this.matching_view_list_selector);
$other_users_list = $(this.other_user_list_selector);
- current_filter: Filter | undefined;
+ current_filter: Filter | undefined | "unset" = "unset";
initialize_tooltips(): void {
$("#right-sidebar").on(