mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
f22a758a3b
refs https://github.com/TryGhost/Admin/pull/2238 Follow up to #2238, this should remove the existing no-implicit-this lint errors and any new violations should be flagged right away. * run the no-implicit-this codemod * updated todos
15 lines
696 B
Handlebars
15 lines
696 B
Handlebars
{{#if @select.selected}}
|
|
{{#if @selectedItemComponent}}
|
|
{{component @selectedItemComponent extra=(readonly @extra) option=(readonly @option.selected) select=(readonly @select)}}
|
|
{{else}}
|
|
<span class="ember-power-select-selected-item">{{yield @select.selected this.select}}</span>
|
|
{{/if}}
|
|
{{#if (and @allowClear (not @select.disabled))}}
|
|
<span class="ember-power-select-clear-btn" {{on "mousedown" this.clear}} {{on "touchstart" this.clear}}>×</span>
|
|
{{/if}}
|
|
{{else}}
|
|
{{component @placeholderComponent placeholder=@placeholder}}
|
|
{{/if}}
|
|
{{!-- this next line is the only difference from original trigger.hbs --}}
|
|
{{svg-jar "arrow-down-small"}}
|