mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 16:46:12 +08:00
UX: Show spinner when searching on full page search.
This commit is contained in:
parent
f8be43644b
commit
bc81f64a64
|
@ -61,6 +61,7 @@
|
|||
|
||||
{{plugin-outlet name="full-page-search-below-search-info" args=(hash search=searchTerm)}}
|
||||
|
||||
{{#unless searching}}
|
||||
<div class="search-results">
|
||||
{{#load-more selector=".fps-result" action=(action "loadMore")}}
|
||||
{{#each model.posts as |result|}}
|
||||
|
@ -158,6 +159,9 @@
|
|||
{{/conditional-loading-spinner}}
|
||||
{{/load-more}}
|
||||
</div>
|
||||
{{else}}
|
||||
{{loading-spinner size="medium"}}
|
||||
{{/unless}}
|
||||
</div>
|
||||
|
||||
<div class="search-advanced-sidebar">
|
||||
|
|
Loading…
Reference in New Issue
Block a user