Disable the delete button in the acl list for the anon token only

This commit is contained in:
John Cowen 2018-06-13 14:31:36 +01:00
parent 853a40b256
commit 8a1c361e17
1 changed files with 2 additions and 0 deletions

View File

@ -47,9 +47,11 @@
<li>
<a onclick={{action 'sendClone' item}}>Clone</a>
</li>
{{# if (not-eq item.ID 'anonymous') }}
<li>
<a onclick={{action confirm 'delete' item}}>Delete</a>
</li>
{{/if}}
</ul>
{{/action-group}}
{{/block-slot}}