This commit is contained in:
giles 2024-09-16 11:42:18 +01:00
parent d83c4ca8fa
commit bd6812e493
1 changed files with 3 additions and 1 deletions

View File

@ -37,7 +37,9 @@
hx-get="order"
hx-trigger="load delay:1ms, configured from:body, paid from:body, ordered from:body delay:1s"
hx-on::config-request = "console.log('order triggered'); event.detail.path = !(new URLSearchParams(window.location.search).get('order')) ? 'shop/order/?embed=true' : 'shop/order/?embed=true&orderId=' + new URLSearchParams(window.location.search).get('order');"
hx-swap="innerHTML">
hx-swap="outerHTML"
hx-target="order-form-rose-ash-shop"
>
</div>
<div
id="order-detail-rose-ash-shop"