Fix twig functions (master overrides permission)
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if checkAccess('leave_organisation') and (isOrganisationMember(organisation)) %}
|
||||
{% if checkAccess('leave_organisation') and isOrganisationMember(organisation) %}
|
||||
<li>
|
||||
<a href="#" class="js-organisation-leave" data-slug="{{organisation.slug}}">
|
||||
<i class="fas fa-door-open fa-fw"></i> {{translate('ORGANISATION.LEAVE')}}
|
||||
|
||||
Reference in New Issue
Block a user