fix team opens in modal (#1041)

This commit is contained in:
Kevin Papst
2019-08-16 16:55:56 +02:00
committed by GitHub
parent 561ec3b1e9
commit b6d9bb0d2a

View File

@@ -468,9 +468,6 @@
{% if team.id is not empty %}
{% if is_granted('edit', team) %}
{% set class = '' %}
{% if view != 'edit' %}
{% set class = 'modal-ajax-form' %}
{% endif %}
{% set actions = actions|merge({'edit': {'url': path('admin_team_edit', {'id': team.id}), 'class': class}}) %}
{% endif %}
{% endif %}