mirror of
https://github.com/status-im/consul.git
synced 2025-01-31 16:07:58 +00:00
a686de0414
* ui: Switch selects to use more HTML-like approach for optgroups * Add KV comparator * Use new option/optgroup approach for sort/select * Fix up tests for new order of menu items
12 lines
242 B
Handlebars
12 lines
242 B
Handlebars
{{#let components.MenuItem as |MenuItem|}}
|
|
<MenuItem
|
|
class={{if selected 'is-active'}}
|
|
@onclick={{action 'click'}}
|
|
@selected={{selected}}
|
|
>
|
|
<BlockSlot @name="label">
|
|
{{yield}}
|
|
</BlockSlot>
|
|
</MenuItem>
|
|
{{/let}}
|