app/components/coco/base/modal/modal.html.erb in coveragebook_components-0.8.1 vs app/components/coco/base/modal/modal.html.erb in coveragebook_components-0.8.2
- old
+ new
@@ -7,9 +7,10 @@
data: {turbo_temporary: true},
x: {
data: x_data("modal"),
bind: "root",
cloak: true,
+ "@modal:visit": "modal.visit($event.detail.url)"
},
) do %>
<div class="modal-overlay" x-bind="overlay"></div>
<div class="modal-container" x-bind="container" x-ref="container">
<div class="modal-content" x-trap.noscroll.inert.noreturn="open">