Replace patched #dom_id with #dom_target

This commit is contained in:
2026-10-17 04:57:26 +02:00
parent f1578fad75
commit 2c845f3528
14 changed files with 45 additions and 60 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
<%= turbo_stream.update(:measurement_form_legend) { @superquantity&.pathname } %>
<% @prev_quantities.each do |pq| %>
<%= turbo_stream.update dom_id(pq, nil, :pathname) do %>
<%= turbo_stream.update dom_target(pq, :pathname) do %>
<%= pq.relative_pathname(@superquantity) %>
<% end %>
<% end %>