consul/ui/packages/consul-ui/app/components/changeable-set/index.hbs

7 lines
263 B
Handlebars

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