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
1 changed files with 9 additions and 9 deletions

View File

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