Fixed the leave button data-slug parameter missing

This commit is contained in:
2022-02-10 12:32:22 +00:00
parent ca4eb434ad
commit a15482b71a

View File

@@ -67,7 +67,7 @@
{% if checkAccess('leave_organisation') %}
<hr>
<div class="text-center">
<button type="button" class="btn btn-danger js-organisation-leave">{{translate('ORGANISATION.LEAVE')}}</button>
<button type="button" class="btn btn-danger js-organisation-leave" data-slug="{{organisation.slug}}">{{translate('ORGANISATION.LEAVE')}}</button>
</div>
{% endif %}
</div>