diff --git a/templates/components/toggle_list.html b/templates/components/toggle_list.html
index b5990955..08526c5a 100644
--- a/templates/components/toggle_list.html
+++ b/templates/components/toggle_list.html
@@ -9,12 +9,6 @@
{% endmacro %}
-{% macro ToggleList(item_name, item_type, length) %}
-
{{ caller() }}
diff --git a/templates/fragments/applications/environments.html b/templates/fragments/applications/environments.html
index ac4c3a60..b85f52f4 100644
--- a/templates/fragments/applications/environments.html
+++ b/templates/fragments/applications/environments.html
@@ -1,5 +1,5 @@
{% from "components/icon.html" import Icon %}
-{% from "components/toggle_list.html" import ToggleList, ToggleButton, ToggleSection %}
+{% from "components/toggle_list.html" import ToggleButton, ToggleSection %}
- {% call ToggleList() %}
- {% call ToggleSection(section_name="environments") %}
-
- {% for member in members_list %}
- -
-
{{ member.name }}
- {{ member.role }}
-
- {% endfor %}
-
- {% endcall %}
+ {% call ToggleSection(section_name="environments") %}
+
+ {% for member in members_list %}
+ -
+
{{ member.name }}
+ {{ member.role }}
+
+ {% endfor %}
+
+ {% endcall %}
- {% call ToggleSection(section_name="edit") %}
-
- {% endcall %}
+ {% call ToggleSection(section_name="edit") %}
+
{% endcall %}
diff --git a/templates/portfolios/applications/team.html b/templates/portfolios/applications/team.html
index 489e6698..ac467251 100644
--- a/templates/portfolios/applications/team.html
+++ b/templates/portfolios/applications/team.html
@@ -2,7 +2,7 @@
{% from "components/empty_state.html" import EmptyState %}
{% from "components/icon.html" import Icon %}
-{% from "components/toggle_list.html" import ToggleList, ToggleButton, ToggleSection %}
+{% from "components/toggle_list.html" import ToggleButton, ToggleSection %}
{% set secondary_breadcrumb = 'portfolios.applications.team_settings.title' | translate({ "application_name": application.name }) %}
@@ -96,18 +96,16 @@
}}
- {% call ToggleList() %}
- {% call ToggleSection(section_name="environments") %}
-