Skip to content

Commit 397832b

Browse files
authored
Hot fix #8389 (#8392)
I'm disabling auto refreshing despite it being cool because... omg… this bug is so stupid. so we auto refresh reimbursements report pages: ``` <%= turbo_stream_from @report %> <% turbo_refreshes_with method: :morph, scroll: :preserve %> ``` which was great and all. and it didn’t matter until, for tasks, we added `touch: true`: ``` belongs_to :receiptable, polymorphic: true, optional: true, touch: true ``` turbo makes my brain hurt.
1 parent 60f9550 commit 397832b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/views/reimbursement/reports/show.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<% page_md %>
33
<%= render "events/nav", selected: :reimbursements unless @use_user_nav %>
44
<%= render "users/nav", selected: :reimbursements if @use_user_nav %>
5-
<%= turbo_stream_from @report %>
6-
<% turbo_refreshes_with method: :morph, scroll: :preserve %>
5+
<%#= turbo_stream_from @report %>
6+
<%# turbo_refreshes_with method: :morph, scroll: :preserve %>
77

88
<div class="md:mt-12">
99
<% admin_tool "w-fit" do %>

0 commit comments

Comments
 (0)