Skip to content

Commit

Permalink
Making sure only runs when there is search query
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-alvarez committed Oct 4, 2017
1 parent 99b99cc commit 9f7c4ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/components/large-search.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
{{/search-result-set}}
{{else if search.isRunning}}
{{dot-spinner}}
{{else}}
{{else if (and search.performCount query.length)}}
<h4 class="result-info test-result-info">No results for "{{query}}"</h4>
{{/if}}
</div>
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"ember-router-scroll": "~0.3.0",
"ember-sanitize": "^2.0.2",
"ember-source": "~2.14.1",
"ember-truth-helpers": "^1.3.0",
"emberx-select": "^3.1.0",
"glob": "^7.1.1",
"http-proxy": "^1.15.2",
Expand Down

0 comments on commit 9f7c4ea

Please sign in to comment.