Skip to content

Commit

Permalink
fix(admin-ui): Fix route config for settings tabs
Browse files Browse the repository at this point in the history
Fixes #2623
  • Loading branch information
michaelbromley committed Jan 16, 2024
1 parent 3e4e31c commit 4e7bbb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/admin-ui/src/lib/settings/src/settings.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const createRoutes = (pageService: PageService): Route[] => [
path: 'channels/:id',
component: PageComponent,
data: {
locationId: 'channel-list',
locationId: 'channel-detail',
breadcrumb: { label: _('breadcrumb.channels'), link: ['../', 'channels'] },
},
children: pageService.getPageTabRoutes('channel-detail'),
Expand All @@ -74,7 +74,7 @@ export const createRoutes = (pageService: PageService): Route[] => [
path: 'stock-locations/:id',
component: PageComponent,
data: {
locationId: 'stock-location-list',
locationId: 'stock-location-detail',
breadcrumb: { label: _('breadcrumb.stock-locations'), link: ['../', 'stock-locations'] },
},
children: pageService.getPageTabRoutes('stock-location-detail'),
Expand All @@ -92,7 +92,7 @@ export const createRoutes = (pageService: PageService): Route[] => [
path: 'sellers/:id',
component: PageComponent,
data: {
locationId: 'seller-list',
locationId: 'seller-detail',
breadcrumb: { label: _('breadcrumb.sellers'), link: ['../', 'sellers'] },
},
children: pageService.getPageTabRoutes('seller-detail'),
Expand Down

0 comments on commit 4e7bbb1

Please sign in to comment.