open-consul/ui-v2/app/templates/components/changeable-set.hbs

6 lines
173 B
Handlebars

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