mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-25 07:54:11 -05:00
Update search-menu.js.es6
This commit is contained in:
parent
c1f516a604
commit
fc95764f60
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ export default createWidget('search-menu', {
|
||||||
const results = [this.attach('search-term', { value: searchData.term, contextEnabled }),
|
const results = [this.attach('search-term', { value: searchData.term, contextEnabled }),
|
||||||
this.attach('search-context', { contextEnabled })];
|
this.attach('search-context', { contextEnabled })];
|
||||||
|
|
||||||
|
if (searchData.term)
|
||||||
if (searchData.loading) {
|
if (searchData.loading) {
|
||||||
results.push(h('div.searching', h('div.spinner')));
|
results.push(h('div.searching', h('div.spinner')));
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue