Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Fix using taxon API URL in both scenarios.

Matthew Kennedy240def859e7f
diff --git a/backend/app/views/spree/admin/menu_items/link_inputs/_resource.html.erb b/backend/app/views/spree/admin/menu_items/link_inputs/_resource.html.erb
index 3be8337d77..08be4b7aff 100644
--- a/backend/app/views/spree/admin/menu_items/link_inputs/_resource.html.erb
+++ b/backend/app/views/spree/admin/menu_items/link_inputs/_resource.html.erb
@@ -39,7 +39,7 @@
data_attrbute_name: 'products',
placeholder: "<%= Spree.t('admin.navigation.seach_for_a_product') %>",
allow_clear: true,
- apiUrl: Spree.routes.taxons_api_v2,
+ apiUrl: Spree.routes.products_api_v2,
})
})
</script>