Fixed the leave button data-slug parameter missing
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user