DEV: Update dynamic component hbs syntax (#29445)
The block form of `{{#component` is not supported by Glint tooling. They recommend using this `{{#let`-based syntax to achieve the same result
This commit is contained in:
parent
336d98732d
commit
b364a13ad3
|
@ -55,11 +55,17 @@
|
|||
{{/each}}
|
||||
</div>
|
||||
{{else}}
|
||||
{{#component
|
||||
{{#let
|
||||
(component
|
||||
this.reviewableComponent reviewable=this.reviewable tagName=""
|
||||
)
|
||||
as |ReviewableComponent|
|
||||
}}
|
||||
{{! template-lint-disable no-shadowed-elements }}{{! (seems to be a false positive) }}
|
||||
<ReviewableComponent>
|
||||
<ReviewableScores @reviewable={{this.reviewable}} @tagName="" />
|
||||
{{/component}}
|
||||
</ReviewableComponent>
|
||||
{{/let}}
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue