Skip to content

Commit

Permalink
Merge pull request #46 from kpfefferle/has-block-deprecation
Browse files Browse the repository at this point in the history
Address hasBlock deprecation: update to has-block
  • Loading branch information
ef4 authored Apr 4, 2021
2 parents a7260e5 + 9c86e3a commit d1dc468
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon/templates/components/from-elsewhere.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{#if initialized}}
{{#let (get service.actives name) as |active| }}
{{#if hasBlock}}
{{#if (has-block)}}
{{yield active.lastObject.component active.lastObject.outsideParams}}
{{else}}
{{#let active.lastObject.component as |c|}}
Expand Down
2 changes: 1 addition & 1 deletion addon/templates/components/multiple-from-elsewhere.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{#if initialized}}
{{#each (get service.actives name) as |source|}}
{{#if hasBlock}}
{{#if (has-block)}}
{{yield source.component source.outsideParams}}
{{else}}
{{component source.component}}
Expand Down

0 comments on commit d1dc468

Please sign in to comment.