Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
stream-settings: Fix FORMAT_ERROR during stream creation.
Sahil Batrafc9236596867
diff --git a/web/src/stream_settings_ui.ts b/web/src/stream_settings_ui.tsindex e6692e3491f..0f8bb301dce 100644--- a/web/src/stream_settings_ui.ts+++ b/web/src/stream_settings_ui.ts@@ -6,7 +6,6 @@ import render_stream_creation_confirmation_banner from "../templates/modal_banneimport render_stream_info_banner from "../templates/modal_banner/stream_info_banner.hbs";import render_browse_streams_list from "../templates/stream_settings/browse_streams_list.hbs";import render_browse_streams_list_item from "../templates/stream_settings/browse_streams_list_item.hbs";-import render_stream_settings from "../templates/stream_settings/stream_settings.hbs";import render_stream_settings_overlay from "../templates/stream_settings/stream_settings_overlay.hbs";import * as blueslip from "./blueslip.ts";@@ -261,13 +260,6 @@ export function add_sub_to_table(sub: StreamSubscription): void {scroll_util.get_content_element($(".streams-list")).append($new_row);}- const settings_html = render_stream_settings({- sub: stream_settings_data.get_sub_for_settings(sub),- });- scroll_util- .get_content_element($("#channels_overlay_container .settings"))- .append($(settings_html));-if (stream_create.get_name() === sub.name) {// This `stream_create.get_name()` check tells us whether the// stream was just created in this browser window; it's a hack