diff --git a/scipost/templates/scipost/graph.html b/scipost/templates/scipost/graph.html index 511b067d79ad4cb3cb3b0a41ed2b21e81a2d61ed..6d221aedb90535447cc1ce150052bc37b55310ff 100644 --- a/scipost/templates/scipost/graph.html +++ b/scipost/templates/scipost/graph.html @@ -165,7 +165,7 @@ function transform(d) { {% if graph.private }} <h3>Teams with access:</h3> <ul> - {% for team in graph.teams_with_access %} + {% for team in graph.teams_with_access.all %} {{ team.header_as_li }} {% endfor %} </ul>