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.

recent: Fix showing No matches message while loading.

Harsh48200b1adcb8
diff --git a/web/src/recent_view_ui.ts b/web/src/recent_view_ui.ts
index c5117c004a7..516371d8e0e 100644
--- a/web/src/recent_view_ui.ts
+++ b/web/src/recent_view_ui.ts
@@ -443,10 +443,12 @@ export function revive_current_focus(): boolean {
}
export function show_loading_indicator(): void {
+ $("#recent-view-content-table").hide();
loading.make_indicator($("#recent_view_loading_messages_indicator"));
}
export function hide_loading_indicator(): void {
+ $("#recent-view-content-table").show();
$("#recent_view_bottom_whitespace").hide();
loading.destroy_indicator($("#recent_view_loading_messages_indicator"));
}