mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 04:31:57 +08:00
Clean up load more
This commit is contained in:
parent
215bdb672a
commit
cd0b6300d8
@ -18,7 +18,6 @@ export default Ember.ArrayController.extend(Ember.Evented, PaneableMixin, {
|
||||
filter: '',
|
||||
|
||||
searchQuery: '',
|
||||
loadingMore: false,
|
||||
|
||||
sortOptions: [
|
||||
{sort: 'recent', label: 'Recent'},
|
||||
|
@ -39,11 +39,11 @@
|
||||
{{/if}}
|
||||
|
||||
{{#if moreResults}}
|
||||
<div class="load-more">
|
||||
{{#unless resultsLoading}}
|
||||
{{#unless resultsLoading}}
|
||||
<div class="load-more">
|
||||
{{ui/controls/action-button class="control-loadMore btn btn-default" action="loadMore" label="Load More"}}
|
||||
{{/unless}}
|
||||
</div>
|
||||
</div>
|
||||
{{/unless}}
|
||||
{{/if}}
|
||||
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user