Skip to content

Commit

Permalink
fix: row actions after back from browser
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob committed Dec 9, 2024
1 parent b476cb7 commit 320d78b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/helpers/avo/turbo_stream_actions_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def avo_flash_alerts
def avo_close_modal
turbo_stream_action_tag :replace,
target: Avo::MODAL_FRAME_ID,
template: @view_context.turbo_frame_tag(Avo::MODAL_FRAME_ID, data: {turbo_temporary: 1})
template: @view_context.turbo_frame_tag(Avo::MODAL_FRAME_ID)
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/avo/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</div>
</div>
</div>
<%= turbo_frame_tag Avo::MODAL_FRAME_ID, data: {turbo_temporary: 1} %>
<%= turbo_frame_tag Avo::MODAL_FRAME_ID %>
<%= render partial: "avo/partials/alerts" %>
<%= render partial: "avo/partials/scripts" %>
<%= render partial: "avo/partials/confirm_dialog" %>
Expand Down

0 comments on commit 320d78b

Please sign in to comment.