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.

topic_list: Show empty string topic when narrowed to empty topic.

Prakhar Pratyush8018c2d203d9
diff --git a/web/src/topic_list_data.ts b/web/src/topic_list_data.ts
index 1d362fecabb..5111c8ff315 100644
--- a/web/src/topic_list_data.ts
+++ b/web/src/topic_list_data.ts
@@ -181,7 +181,7 @@ export function get_list_info(
if (
stream_id === narrow_state.stream_id() &&
- narrowed_topic &&
+ narrowed_topic !== undefined &&
!contains_topic(topic_names, narrowed_topic)
) {
topic_names.unshift(narrowed_topic);