This commit is contained in:
giles 2024-09-23 18:57:37 +01:00
parent c5425f46c5
commit de022b4560
1 changed files with 8 additions and 0 deletions

View File

@ -5,6 +5,14 @@
<div
hx-get="shop/totals/"
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"
></div>
<div