open-consul/ui-v2/app/templates/components/changeable-set.hbs
John Cowen 6bf6002ab0
ui: Move slots to use attributes over positional params (#7032)
* Change all instances of yield/block-slots to use attributes over positional arguments

* Remove the ability to use yield/block-slots with positional params
2020-01-15 09:15:54 +00:00

6 lines
190 B
Handlebars

{{yield}}
{{#if (gt items.length 0)}}
{{#yield-slot name='set' params=(block-params items)}}{{yield}}{{/yield-slot}}
{{else}}
{{#yield-slot name='empty'}}{{yield}}{{/yield-slot}}
{{/if}}