Revert hiding recording menus when recording disabled (#1959)

This commit is contained in:
Ahmad Farhat
2020-07-30 15:18:28 -04:00
committed by GitHub
parent ec93d5e472
commit bb83bf553d
3 changed files with 3 additions and 9 deletions

View File

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

View File

@ -103,10 +103,7 @@
</div>
</div>
<% recording = room_configuration("Room Configuration Recording") %>
<% if recording != "disabled" %>
<%= render "shared/sessions", recordings: @recordings, pagy: @pagy, only_public: false, shared_room: @shared_room, user_recordings: false, title: t("room.recordings")%>
<% end %>
<%= render "shared/sessions", recordings: @recordings, pagy: @pagy, only_public: false, shared_room: @shared_room, user_recordings: false, title: t("room.recordings")%>
<%= render "shared/modals/delete_room_modal" %>