Skip to content

Commit f833518

Browse files
committed
Workaround for incomplete transition from labelling regular meeting materials as 'active' to labelling as 'sessonly'.
- Legacy-Id: 9328
1 parent ba90fe0 commit f833518

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/doc/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def meeting_related(self):
238238
or (self.session_set.exists() if isinstance(self, Document) else self.doc.session_set.exists()))
239239
elif self.type_id in ("slides",):
240240
return (self.name.split("-")[1] == "interim"
241-
or (self.get_state('slides') in ("sessonly","archived") ))
241+
or (self.get_state('slides').slug in ("active", "sessonly","archived") ))
242242
else:
243243
return False
244244

0 commit comments

Comments
 (0)