Browse Source

fix(admin-ui): Fix customers breadcrumb link (#2218)

oidt 2 years ago
parent
commit
edaa86728d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/admin-ui/src/lib/customer/src/customer.routes.ts

+ 1 - 1
packages/admin-ui/src/lib/customer/src/customer.routes.ts

@@ -27,7 +27,7 @@ export const createRoutes = (pageService: PageService): Route[] => [
         component: PageComponent,
         component: PageComponent,
         data: {
         data: {
             locationId: 'customer-detail',
             locationId: 'customer-detail',
-            breadcrumb: _('breadcrumb.customers'),
+            breadcrumb: { label: _('breadcrumb.customers'), link: ['../', 'customer'] },
         },
         },
         children: pageService.getPageTabRoutes('customer-detail'),
         children: pageService.getPageTabRoutes('customer-detail'),
     },
     },