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_view: Handle topics_widget being undefined.

Aman Agrawalac8ad111ded1
diff --git a/web/src/recent_view_ui.js b/web/src/recent_view_ui.js
index f34c9f0668b..6adc3f8eb87 100644
--- a/web/src/recent_view_ui.js
+++ b/web/src/recent_view_ui.js
@@ -165,7 +165,7 @@ function update_load_more_banner() {
return;
}
- if (!topics_widget.all_rendered()) {
+ if (!topics_widget?.all_rendered()) {
$(".recent-view-load-more-container").toggleClass("notvisible", true);
return;
}