Files
fizzy/app/views/cards/_broadcasts.html.erb
T
Jorge Manrubia 1a78de6f71 Fixes for refresh stream subscriptions
This will make the system listen for changes via the filtered
collections, when any, or via all the collections otherwise.
2025-10-31 12:25:05 +01:00

8 lines
198 B
Plaintext

<% if filter.collections.any? %>
<% filter.collections.each do |collection| %>
<%= turbo_stream_from collection %>
<% end %>
<% else %>
<%= turbo_stream_from :all_collections %>
<% end %>