Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
stream settings: Fix archiving of a stream opened in right panel.
aparna-bhatt710e42f862b4
diff --git a/web/src/stream_edit.js b/web/src/stream_edit.jsindex 662f71859bf..3e6a9b33e6e 100644--- a/web/src/stream_edit.js+++ b/web/src/stream_edit.js@@ -47,6 +47,9 @@ function setup_subscriptions_stream_hash(sub) {}export function setup_subscriptions_tab_hash(tab_key_value) {+ if ($("#subscription_overlay .right").hasClass("show")) {+ return;+ }if (tab_key_value === "all-streams") {browser_history.update("#streams/all");} else if (tab_key_value === "subscribed") {@@ -102,6 +105,7 @@ export function open_edit_panel_for_row(stream_row) {export function open_edit_panel_empty() {const tab_key = stream_settings_ui.get_active_data().$tabs.first().attr("data-tab-key");$(".stream-row.active").removeClass("active");+ $("#subscription_overlay .right").removeClass("show");stream_settings_ui.show_subs_pane.nothing_selected();setup_subscriptions_tab_hash(tab_key);}