Skip to content

Commit

Permalink
let study members see broadcast stats
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Jun 27, 2024
1 parent c14e96b commit 1185499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/Study.scala
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ final class Study(
division = division
)
)
withMembers = !study.isRelay || isGrantedOpt(_.StudyAdmin)
withMembers = !study.isRelay || isGrantedOpt(_.StudyAdmin) || ctx.me.exists(study.isMember)
studyJson <- env.study.jsonView(study, previews, chapter, fedNames.some, withMembers = withMembers)
yield WithChapter(study, chapter) -> JsData(
study = studyJson,
Expand Down

0 comments on commit 1185499

Please sign in to comment.