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.

stream-settings: Don't change tab when navigating between streams.

Sahil Batraa03e3ddc5abd
diff --git a/web/src/stream_settings_ui.js b/web/src/stream_settings_ui.js
index 3ff7ead1290..9e33ec23157 100644
--- a/web/src/stream_settings_ui.js
+++ b/web/src/stream_settings_ui.js
@@ -794,7 +794,7 @@ export function switch_rows(event) {
const row_data = get_row_data($switch_row);
if (row_data) {
const stream_id = row_data.id;
- switch_to_stream_row(stream_id, "general");
+ switch_to_stream_row(stream_id, stream_edit_toggler.select_tab);
} else if (event === "up_arrow" && !row_data) {
$("#search_stream_name").trigger("focus");
}