Skip to content

Commit 2e152bb

Browse files
committed
Fix naming bug in streams_menu template tag
- Legacy-Id: 6257
1 parent 8bc5df1 commit 2e152bb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/doc/templatetags/streams_menu.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def streams_menu(context):
1818
streams = StreamName.objects.exclude(slug="legacy")
1919

2020
if has_role(user, "Secretariat"):
21-
editable_stream = streams
21+
editable_streams.extend(streams)
2222
else:
2323
acronyms = Group.objects.filter(acronym__in=(s.slug for s in streams),
2424
role__name="chair",
@@ -28,4 +28,4 @@ def streams_menu(context):
2828
if s.slug in acronyms:
2929
editable_streams.append(s)
3030

31-
return { 'editable_streams': streams }
31+
return { 'editable_streams': editable_streams }

0 commit comments

Comments
 (0)