mirror of
https://github.com/status-im/consul.git
synced 2025-01-12 06:44:41 +00:00
06d09d11f1
* Change all instances of yield/block-slots to use attributes over positional arguments * Remove the ability to use yield/block-slots with positional params
6 lines
190 B
Handlebars
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}} |