hbs
This commit is contained in:
parent
c5425f46c5
commit
de022b4560
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue