Skip to content

Commit

Permalink
Update CHANGELOG and default to notFoundComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
Katelyn Kasperowicz committed Mar 30, 2016
1 parent 44af8ba commit 5524e84
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Ember Paper Changelog

### master
- [#322](https://github.com/miguelcobain/ember-paper/pull/322) Remove documentation for searchTest in inverse block for `{{paper-autocomplete}}`.
- [#323](https://github.com/miguelcobain/ember-paper/pull/323) Pass item through as expected rather than label to itemComponent for `{{paper-autocomplete}}`.

### 0.2.12
Expand Down
8 changes: 5 additions & 3 deletions app/templates/components/paper-autocomplete.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,13 @@

{{else}}
{{#if showLoadingBar}}
{{!-- Render named component then default --}}
{{!-- Render named component, then inverse block then default --}}
{{#if notFoundComponent}}
<li>{{component notFoundComponent searchText=searchText}}</li>
<li>{{component notFoundComponent searchText=searchText}}</li>
{{else if (has-block "inverse")}}
<li>{{yield to="inverse"}}</li>
{{else}}
<li>{{notFoundMsg}}</li>
<li>{{notFoundMsg}}</li>
{{/if}}
{{/if}}
{{/each}}
Expand Down

0 comments on commit 5524e84

Please sign in to comment.