Skip to content

Commit

Permalink
with cart
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Nov 30, 2024
1 parent 4d7e400 commit 8e2173f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/factory/productions/index.turbo_stream.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= turbo_stream.replace 'container' do %>
<%= render partial: 'production_cart', layout: 'production', collection: @productions, as: :model, locals: { item_con: 'trade/my/items' } %>
<%= render partial: 'production_cart', layout: 'production', collection: @productions, as: :model, locals: { cart: @cart, item_con: 'trade/my/items' } %>
<%= render 'loading' %>
<% end %>
<% if @productions.total_pages == @productions.current_page %>
Expand Down

0 comments on commit 8e2173f

Please sign in to comment.