FIX: infinite loading was broken on group activity posts/mentions pages

This commit is contained in:
Régis Hanol 2018-05-17 01:34:13 +02:00
parent 7195bdf025
commit 4f945abba2

View File

@ -1,11 +1,11 @@
{{#load-more selector=".group-post" action=(action "loadMore")}} {{#load-more selector=".user-stream-item" action="loadMore"}}
<div class="user-stream"> <div class="user-stream">
{{#each model as |post|}} {{#each model as |post|}}
{{group-post post=post class="user-stream-item item"}} {{group-post post=post class="user-stream-item item"}}
{{else}} {{else}}
<div>{{i18n emptyText}}</div> <div>{{i18n emptyText}}</div>
{{/each}} {{/each}}
</div> </div>
{{conditional-loading-spinner condition=loading}}
{{/load-more}} {{/load-more}}
{{conditional-loading-spinner condition=loading}}