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: Remove redundant is_stream_creation check.

Sahil Batrabe9e8e05bf01
diff --git a/web/src/stream_ui_updates.ts b/web/src/stream_ui_updates.ts
index 3ade9968aa3..0e85cad006c 100644
--- a/web/src/stream_ui_updates.ts
+++ b/web/src/stream_ui_updates.ts
@@ -66,7 +66,7 @@ export function update_history_public_to_subscribers_state(
sub?: StreamSubscription,
): void {
const is_stream_creation = $container.attr("id") === "stream-creation";
- if (!is_stream_creation && sub !== undefined && !hash_parser.is_editing_stream(sub.stream_id)) {
+ if (sub !== undefined && !hash_parser.is_editing_stream(sub.stream_id)) {
return;
}