Skip to content

Commit

Permalink
LTI-379: hide unpublished recordings from students
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariam05 committed Jul 11, 2024
1 parent 61f4832 commit 87839fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/shared/_room.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
<% @recordings.each do |recording| %>
<% if only_public %>
<%= render "shared/components/public_recording_row", recording: recording %>
<% else %>
<% elsif @user.moderator?(bigbluebutton_moderator_roles) || recording[:published] %>
<%= render "shared/components/recording_row", recording: recording %>
<% end %>
<% end %>
Expand Down

0 comments on commit 87839fe

Please sign in to comment.