Skip to content

Commit

Permalink
Merge pull request #2 from zestia/fix-for-ember-beta
Browse files Browse the repository at this point in the history
Fix for ember beta / canary
  • Loading branch information
amk221 authored Nov 4, 2020
2 parents 7253853 + 668e804 commit ebcdfc0
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions addon/components/wrap-urls/index.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{{#each this.parts as |part|}}
{{#if part.string}}
{{~""~}}<this.component @url={{part}} />{{~""~}}
{{else}}
{{~""~}}{{part}}{{~""~}}
{{/if}}
{{/each}}
{{#let (component this.component) as |Component|}}
{{#each this.parts as |part|}}
{{#if part.string}}
{{~""~}}<Component @url={{part}} />{{~""~}}
{{else}}
{{~""~}}{{part}}{{~""~}}
{{/if}}
{{/each}}
{{/let}}

0 comments on commit ebcdfc0

Please sign in to comment.