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