diff --git a/partials/content.hbs b/partials/content.hbs index f87c870..529b506 100644 --- a/partials/content.hbs +++ b/partials/content.hbs @@ -94,13 +94,6 @@
-
-
{{/is}} diff --git a/partials/shop-top.hbs b/partials/shop-top.hbs index 35feec4..df0bf76 100644 --- a/partials/shop-top.hbs +++ b/partials/shop-top.hbs @@ -23,8 +23,8 @@ 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'); + ? 'shop/order/' + : 'shop/order/?orderId=' + new URLSearchParams(window.location.search).get('order'); "; hx-swap="outerHTML" > @@ -36,7 +36,7 @@ id="order-detail-rose-ash-shop" hx-get="order" hx-trigger="load delay:1ms" - hx-on::config-request="event.detail.path = new URLSearchParams(window.location.search).get('order') ? 'shop/order/' + new URLSearchParams(window.location.search).get('order')+ '/?embed=true' : null; //6a919002-94eb-467d-a226-5dd05b7f44a3 '" + hx-on::config-request="event.detail.path = new URLSearchParams(window.location.search).get('order') ? 'shop/order/' + new URLSearchParams(window.location.search).get('order')+ '/' : null; //6a919002-94eb-467d-a226-5dd05b7f44a3 '" hx-on::confirm = " if (!new URLSearchParams(window.location.search).get('order')) { event.preventDefault(); }" hx-swap="innerHTML" >