fix(ecommerce/cart): explicitly set frappe.boot (#33431)

related: https://github.com/frappe/frappe/pull/18323

Signed-off-by: Sabu Siyad <hello@ssiyad.com>

Signed-off-by: Sabu Siyad <hello@ssiyad.com>
This commit is contained in:
Sabu Siyad 2023-01-02 08:58:01 +05:30 committed by GitHub
parent 98c39c4f5f
commit 010718ffed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,6 +55,7 @@
{% endif %} {% endif %}
<script> <script>
frappe.boot = {{ boot }}
frappe.ready(() => { frappe.ready(() => {
$(document).on('click', '.address-card', (e) => { $(document).on('click', '.address-card', (e) => {
const $target = $(e.currentTarget); const $target = $(e.currentTarget);