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.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Fix Brands nav position to sit after Products
Damian Legawiec3973774f2a45
diff --git a/packages/dashboard-plugin-example/src/index.tsx b/packages/dashboard-plugin-example/src/index.tsxindex 84ba80c69b..6241520596 100644--- a/packages/dashboard-plugin-example/src/index.tsx+++ b/packages/dashboard-plugin-example/src/index.tsx@@ -111,9 +111,9 @@ defineDashboardPlugin({label: i18n.t('admin.brands_plugin.nav'),path: '/brands',icon: PackageIcon,- // Position 35 puts "Brands" between Products (30) and Customers (40)- // in core's default sidebar ordering.- position: 35,+ // Core's built-in entries use positions in hundreds (Products 300,+ // Customers 400). 350 slots "Brands" between them.+ position: 350,// Hide the entry for admins who can't read brands. Permission-aware// navigation matches core's behavior.subject: 'Spree::Brand',