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_list: Fix missing 'go to channel feed' tooltip for topic="".

Prakhar Pratyush1beb9ec10cb7
diff --git a/web/src/stream_list.ts b/web/src/stream_list.ts
index ed79a92b920..57bcfd6e818 100644
--- a/web/src/stream_list.ts
+++ b/web/src/stream_list.ts
@@ -862,7 +862,7 @@ export function initialize_tippy_tooltips(): void {
const stream_id = stream_id_for_elt($(instance.reference).parents("li.narrow-filter"));
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)) {
return false;
}
instance.setContent(ui_util.parse_html(render_go_to_channel_feed_tooltip()));