diff --git a/templates/embeds/teams.html.twig b/templates/embeds/teams.html.twig
index e910a2bf..6c8fceb9 100644
--- a/templates/embeds/teams.html.twig
+++ b/templates/embeds/teams.html.twig
@@ -10,7 +10,7 @@
{% embed '@AdminLTE/Widgets/box-widget.html.twig' with options %}
{% import "macros/widgets.html.twig" as widgets %}
{% block box_tools %}
- {% if teams|length == 0 and team is null and route_create is not null and is_granted('create_team') %}
+ {% if route_create is not null and (teams|length == 0 or team is null) and is_granted('create_team') %}
{% endif %}
{% if route_edit is not null %}