Restore refreshes: make sure they play well with cards in editing mode
This commit is contained in:
@@ -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,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>
|
||||
|
||||
Reference in New Issue
Block a user