From 4f945abba2821ddc79a7271f974716c7869160ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Thu, 17 May 2018 01:34:13 +0200 Subject: [PATCH] FIX: infinite loading was broken on group activity posts/mentions pages --- .../templates/group-activity-posts.hbs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/group-activity-posts.hbs b/app/assets/javascripts/discourse/templates/group-activity-posts.hbs index 5224c15ffb4..8aea9bf7c44 100644 --- a/app/assets/javascripts/discourse/templates/group-activity-posts.hbs +++ b/app/assets/javascripts/discourse/templates/group-activity-posts.hbs @@ -1,11 +1,11 @@ -{{#load-more selector=".group-post" action=(action "loadMore")}} -
- {{#each model as |post|}} - {{group-post post=post class="user-stream-item item"}} - {{else}} -
{{i18n emptyText}}
- {{/each}} -
+{{#load-more selector=".user-stream-item" action="loadMore"}} +
+ {{#each model as |post|}} + {{group-post post=post class="user-stream-item item"}} + {{else}} +
{{i18n emptyText}}
+ {{/each}} +
+ {{conditional-loading-spinner condition=loading}} {{/load-more}} -{{conditional-loading-spinner condition=loading}}