Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
stream_ui_updates: Only update UI if the stream is being edited.
Aman Agrawala47d204ca02f
diff --git a/web/src/stream_ui_updates.js b/web/src/stream_ui_updates.jsindex 1859fef2c51..82756b4d8b0 100644--- a/web/src/stream_ui_updates.js+++ b/web/src/stream_ui_updates.js@@ -70,6 +70,10 @@ export function enable_or_disable_subscribers_tab(sub) {}export function update_settings_button_for_sub(sub) {+ if (!hash_util.is_editing_stream(sub.stream_id)) {+ return;+ }+// This is for the Subscribe/Unsubscribe button in the right panel.const $settings_button = stream_settings_ui.settings_button_for_sub(sub);if (sub.subscribed) {