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}}
|
{{/each}}
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{#component
|
{{#let
|
||||||
this.reviewableComponent reviewable=this.reviewable tagName=""
|
(component
|
||||||
|
this.reviewableComponent reviewable=this.reviewable tagName=""
|
||||||
|
)
|
||||||
|
as |ReviewableComponent|
|
||||||
}}
|
}}
|
||||||
<ReviewableScores @reviewable={{this.reviewable}} @tagName="" />
|
{{! template-lint-disable no-shadowed-elements }}{{! (seems to be a false positive) }}
|
||||||
{{/component}}
|
<ReviewableComponent>
|
||||||
|
<ReviewableScores @reviewable={{this.reviewable}} @tagName="" />
|
||||||
|
</ReviewableComponent>
|
||||||
|
{{/let}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue