app/components/lookbook/embed/inspector/component.html.erb in lookbook-2.0.0.beta.0 vs app/components/lookbook/embed/inspector/component.html.erb in lookbook-2.0.0.beta.1
- old
+ new
@@ -55,10 +55,10 @@
@viewport:resize-progress="resizeIframe"
@viewport:resize-complete="resizeIframe"
x-ref="viewportWrapper">
<%= lookbook_render :viewport,
iframe_id: "#{id}-viewport",
- src: helpers.lookbook_preview_path(target.path, params.merge(lookbook_embed: true)),
+ src: helpers.lookbook_preview_path(target.path, request.query_parameters.merge(lookbook_timestamp: Time.now, lookbook_embed: true)),
alpine_data: "store",
resize_height: false,
class: "mb-[-2px] transition-[height] duration-150",
":style": "`height: ${viewportCssHeight}`"
%>