Allow for the footer frames to be hidden on the notifications page
Otherwise you will have multiple notification dom elements with the same id.
This commit is contained in:
@@ -46,10 +46,12 @@
|
||||
<footer id="footer">
|
||||
<%= yield :footer %>
|
||||
|
||||
<% if Current.user %>
|
||||
<%= render "notifications/tray" %>
|
||||
<%= render "my/pins/tray" %>
|
||||
<%= turbo_frame_tag "terminal", src: terminal_path, data: { turbo_permanent: true } %>
|
||||
<% if Current.user && !@hide_footer_frames %>
|
||||
<div id="footer_frames" data-turbo-permanent="true">
|
||||
<%= render "notifications/tray" %>
|
||||
<%= render "my/pins/tray" %>
|
||||
<%= turbo_frame_tag "terminal", src: terminal_path %>
|
||||
</div>
|
||||
<% end %>
|
||||
</footer>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user