244157786a
This is the result of running the no-implicit-this-codemod, some manual fixes, and the addition of a linting rule to prevent future ambiguity.
6 lines
222 B
Handlebars
6 lines
222 B
Handlebars
{{#if this.substrings}}
|
|
{{#each this.substrings as |substring|}}<span class="{{if substring.isHighlighted "highlighted"}}" data-test-match-substring>{{substring.string}}</span>{{/each}}
|
|
{{else}}
|
|
{{this.label}}
|
|
{{/if}}
|