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.

inbox: Fix empty text visible with visible unread rows.

Aman Agrawalc152cb55a56c
diff --git a/web/src/inbox_ui.js b/web/src/inbox_ui.js
index 243cd76aacf..90273d52cca 100644
--- a/web/src/inbox_ui.js
+++ b/web/src/inbox_ui.js
@@ -1020,7 +1020,10 @@ export function update() {
if (stream_unread_count > 0) {
// Stream isn't rendered.
if (topics_dict.get(stream_key) === undefined) {
- has_topics_post_filter = insert_stream(stream_id, topic_dict);
+ const is_stream_visible = insert_stream(stream_id, topic_dict);
+ if (is_stream_visible) {
+ has_topics_post_filter = true;
+ }
continue;
}