Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
user_groups: Persist settings view while switching tabs.
apoorvapendse753b4e31b914
diff --git a/web/src/user_group_edit.ts b/web/src/user_group_edit.tsindex 819a81ac93a..8d86113af0d 100644--- a/web/src/user_group_edit.ts+++ b/web/src/user_group_edit.ts@@ -1488,7 +1488,6 @@ function redraw_left_panel(tab_name: string): void {groups_list_data.sort(compare_by_name);group_list_widget.replace_list_data(groups_list_data);update_empty_left_panel_message();- maybe_reset_right_panel(groups_list_data);}export function redraw_user_group_list(): void {@@ -1553,17 +1552,6 @@ export function add_or_remove_from_group(group: UserGroup, $group_row: JQuery):}}-export function maybe_reset_right_panel(groups_list_data: UserGroup[]): void {- if (user_group_components.active_group_id === undefined) {- return;- }-- const group_ids = new Set(groups_list_data.map((group) => group.id));- if (!group_ids.has(user_group_components.active_group_id)) {- user_group_components.show_user_group_settings_pane.nothing_selected();- }-}-export function update_empty_left_panel_message(): void {// Check if we have any groups in panel to decide whether to// display a notice.