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.

user_profile: Invalidate user group state after closing the user modal.

crabc26cd25a4b2c
diff --git a/web/src/user_profile.ts b/web/src/user_profile.ts
index 24b7440af8a..2ed41afbbab 100644
--- a/web/src/user_profile.ts
+++ b/web/src/user_profile.ts
@@ -510,6 +510,7 @@ export function hide_user_profile(): void {
function on_user_profile_hide(): void {
user_streams_list_widget = undefined;
+ user_groups_list_widget = undefined;
user_profile_subscribe_widget = undefined;
const base = get_current_hash_category();
// After closing the user profile, if the hash consists of `#user`