Skip to content

A platform for community discussion. Free, open, simple.

UX: Sometimes the footer would show up while refreshing a list route

Robin Warde15bd194fde2
diff --git a/app/assets/javascripts/discourse/app/controllers/discovery/topics.js b/app/assets/javascripts/discourse/app/controllers/discovery/topics.js
index 347c7c3336e..b7aefc95875 100644
--- a/app/assets/javascripts/discourse/app/controllers/discovery/topics.js
+++ b/app/assets/javascripts/discourse/app/controllers/discovery/topics.js
@@ -74,6 +74,7 @@ const controllerOpts = {
// router and ember throws an error due to missing `handlerInfos`.
// Lesson learned: Don't call `loading` yourself.
this.set("discovery.loading", true);
+ this.set("model.canLoadMore", true);
this.topicTrackingState.resetTracking();