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_ui: Fix empty view text for both channel and normal view visible.

Aman Agrawal36b63adc031d
diff --git a/web/src/inbox_ui.ts b/web/src/inbox_ui.ts
index ee789789fff..b37793cf96f 100644
--- a/web/src/inbox_ui.ts
+++ b/web/src/inbox_ui.ts
@@ -912,7 +912,8 @@ function render_channel_view(channel_id: number): void {
INBOX_SEARCH_ID,
}),
);
- show_empty_inbox_text(false);
+ // Hide any empty inbox text by default.
+ show_empty_inbox_text(true);
channel_view_topic_widget = new InboxTopicListWidget(
$("#inbox-list"),
channel_id,