{{#if create }} {{/if}} {{#if (or (eq (left-trim item.Key parent.Key) '') (not-eq (last item.Key) '/')) }}
{{/if}}
{{!TODO This has a
around it in acls, remove or add for consistency }} {{#if create }} {{! we only need to check for an empty keyname here as ember munges autofocus, once we have autofocus back revisit this}} {{ else }} {{#confirmation-dialog message='Are you sure you want to delete this key?'}} {{#block-slot 'action' as |confirm|}} {{/block-slot}} {{#block-slot 'dialog' as |execute cancel message|}} {{delete-confirmation message=message execute=execute cancel=cancel}} {{/block-slot}} {{/confirmation-dialog}} {{/if}}