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.

group_settings: Fix group settings panel title not updating.

Pratik Chanda0c8845cec53e
diff --git a/web/src/user_group_edit.js b/web/src/user_group_edit.js
index fc86238e3b7..bfa88f7c13a 100644
--- a/web/src/user_group_edit.js
+++ b/web/src/user_group_edit.js
@@ -670,10 +670,7 @@ export function maybe_reset_right_panel(groups_list_data) {
const group_ids = new Set(groups_list_data.map((group) => group.id));
if (!group_ids.has(active_group_id)) {
- $(".right .settings").hide();
- $(".nothing-selected").show();
- $(".group-row.active").removeClass("active");
- reset_active_group_id();
+ show_user_group_settings_pane.nothing_selected();
}
}