open-consul/ui-v2/app/templates/components/confirmation-dialog.hbs
John Cowen 411fb2e25c ui: Move to angle brackets for ember components (#7321)
* Modify templates with codemods angle brackets

* ui: Fix up problem with intention filter action attribute

Co-authored-by: Kenia <19161242+kaxcode@users.noreply.github.com>
2020-05-12 17:14:05 +00:00

11 lines
292 B
Handlebars

{{yield}}
<YieldSlot @name="action" @params={{block-params confirm cancel}}>
{{#if (or permanent (not confirming))}}
{{yield}}
{{/if}}
</YieldSlot>
<YieldSlot @name="dialog" @params={{block-params execute cancel message actionName}}>
{{#if confirming }}
{{yield}}
{{/if}}
</YieldSlot>