From b6d9bb0d2a58464c68b1a8a3720a6e826f6c6ea1 Mon Sep 17 00:00:00 2001 From: Kevin Papst Date: Fri, 16 Aug 2019 16:55:56 +0200 Subject: [PATCH] fix team opens in modal (#1041) --- templates/macros/actions.html.twig | 3 --- 1 file changed, 3 deletions(-) diff --git a/templates/macros/actions.html.twig b/templates/macros/actions.html.twig index 164bc709..033fbf70 100644 --- a/templates/macros/actions.html.twig +++ b/templates/macros/actions.html.twig @@ -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 %}