Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
stream_settings_ui: Show correct channel view based on user setting.
Aman Agrawaldc88b0c9f5cb
diff --git a/web/src/stream_settings_ui.ts b/web/src/stream_settings_ui.tsindex 16ff918b5be..29b05f308fc 100644--- a/web/src/stream_settings_ui.ts+++ b/web/src/stream_settings_ui.ts@@ -1266,6 +1266,6 @@ export function initialize(): void {$("#channels_overlay_container").on("click", "#preview-stream-button", () => {const stream_id = Number.parseInt($(".stream_settings_header").attr("data-stream-id")!, 10);- window.location.href = hash_util.by_stream_url(stream_id);+ window.location.href = hash_util.channel_url_by_user_setting(stream_id);});}