app/views/spree/shared/carousel/_thumbnails.html.erb in spree_frontend-4.2.7 vs app/views/spree/shared/carousel/_thumbnails.html.erb in spree_frontend-4.3.0.rc1
- old
+ new
@@ -15,10 +15,10 @@
<div class="product-thumbnails-carousel-item-content py-1 h-100">
<% end %>
<div
class="product-thumbnails-carousel-item-single product-thumbnails-carousel-item-single--visible"
data-product-carousel-to-slide="<%= image_index %>"
- data-variant-is-master="<%= image.viewable_id == @product.master_id %>"
+ data-variant-is-master="<%= image.viewable_id == @product.master.id %>"
data-variant-id="<%= image.viewable_id %>">
<%= lazy_image(
src: main_app.url_for(image.url(:pdp_thumbnail)),
class: 'd-block w-100',
alt: image.alt || @product.name,