This commit is contained in:
giles 2024-09-23 18:57:37 +01:00
vanhempi c5425f46c5
commit de022b4560
1 muutettua tiedostoa jossa 8 lisäystä ja 0 poistoa

Näytä tiedosto

@ -5,6 +5,14 @@
<div <div
hx-get="shop/totals/" hx-get="shop/totals/"
hx-trigger="load delay:1ms" hx-trigger="load delay:1ms"
hx-on::config-request = "
event.detail.path = !(
new URLSearchParams(window.location.search
).get('order'))
? 'shop/totals/'
: 'shop/totals/?orderId=' + new URLSearchParams(window.location.search).get('order');
";
hx-swap="outerHTML" hx-swap="outerHTML"
></div> ></div>
<div <div