REFACTOR: Remove unused component
This commit is contained in:
parent
d09bed0d76
commit
32756060bb
|
@ -1,8 +0,0 @@
|
|||
export default Ember.Component.extend({
|
||||
actions: {
|
||||
// TODO: When on Ember 1.13, use a closure action
|
||||
loadMore() {
|
||||
this.sendAction('loadMore');
|
||||
}
|
||||
}
|
||||
});
|
|
@ -1,11 +0,0 @@
|
|||
{{#load-more selector=".user-stream .item" action="loadMore"}}
|
||||
<div class='user-stream'>
|
||||
{{#each posts as |post|}}
|
||||
{{group-post post=post}}
|
||||
{{else}}
|
||||
<div>{{i18n emptyText}}</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/load-more}}
|
||||
|
||||
{{conditional-loading-spinner condition=loading}}
|
|
@ -1 +1,11 @@
|
|||
{{group-post-stream posts=model emptyText=emptyText loadMore="loadMore" loading=loading}}
|
||||
{{#load-more selector=".user-stream .item" action=(action "loadMore")}}
|
||||
<div class='user-stream'>
|
||||
{{#each model as |post|}}
|
||||
{{group-post post=post}}
|
||||
{{else}}
|
||||
<div>{{i18n emptyText}}</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/load-more}}
|
||||
|
||||
{{conditional-loading-spinner condition=loading}}
|
||||
|
|
Loading…
Reference in New Issue