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

6 lines
181 B
Handlebars

{{yield}}
{{#if (gt items.length 0)}}
<YieldSlot @name="set" @params={{block-params items}}>{{yield}}</YieldSlot>
{{else}}
<YieldSlot @name="empty">{{yield}}</YieldSlot>
{{/if}}