Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
stream_list: Fix not being narrowed to stream feed on click.
Prakhar Pratyush6e568d686aca
diff --git a/web/src/stream_list.ts b/web/src/stream_list.tsindex 57bcfd6e818..318c9e70a00 100644--- a/web/src/stream_list.ts+++ b/web/src/stream_list.ts@@ -890,7 +890,7 @@ export function set_event_handlers({const current_narrow_stream_id = narrow_state.stream_id();const current_topic = narrow_state.topic();- if (current_narrow_stream_id === stream_id && current_topic) {+ if (current_narrow_stream_id === stream_id && current_topic !== undefined) {const channel_feed_url = hash_util.by_stream_url(stream_id);browser_history.go_to_location(channel_feed_url);return;