fix: Do not force showAgenda when agenda_note is set (#7142)

This commit is contained in:
Jennifer Richards 2024-03-05 13:56:34 -04:00 committed by GitHub
parent 3afd6ca42f
commit 5e8b7ad71e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1762,7 +1762,7 @@ def agenda_extract_schedule (item):
"remoteInstructions": item.session.remote_instructions,
"flags": {
"agenda": True if item.session.agenda() is not None else False,
"showAgenda": True if (item.session.agenda() is not None or item.session.remote_instructions or item.session.agenda_note) else False
"showAgenda": True if (item.session.agenda() is not None or item.session.remote_instructions) else False
},
"agenda": {
"url": item.session.agenda().get_href()