Hide recording table when disabled through room config (#1988)

This commit is contained in:
Ahmad Farhat
2020-08-04 17:59:47 -04:00
committed by GitHub
parent ace029b124
commit aeb5edf8a0
4 changed files with 11 additions and 3 deletions

View File

@ -40,6 +40,6 @@
</div>
</div>
<% if render_recordings %>
<% if render_recordings && !hide_recording_tables %>
<%= render "shared/sessions", recordings: @public_recordings, pagy: @pagy, only_public: true, user_recordings: false, title: t("room.recordings") %>
<% end %>