Restore refreshes: make sure they play well with cards in editing mode

This commit is contained in:
Jorge Manrubia
2025-11-14 15:37:43 +01:00
parent 83aae71568
commit d6b602b7d7
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -2,8 +2,6 @@ module Card::Broadcastable
extend ActiveSupport::Concern
included do
# TODO: Temporarily disabled as I need to handle a couple of additional cases
#
# broadcasts_refreshes
broadcasts_refreshes
end
end
+1 -1
View File
@@ -1,5 +1,5 @@
<% if card.published? %>
<%= turbo_frame_tag card, :edit do %>
<%= turbo_frame_tag card, :edit, data: { turbo_permanent: true } do %>
<h1 class="card__title flex align-start gap-half">
<%= link_to card.title, edit_card_path(card), class: "card__title-link" %>
</h1>