Skip to content

Commit

Permalink
fix links.ts for new gateways pages
Browse files Browse the repository at this point in the history
  • Loading branch information
rustyjux committed Jun 26, 2024
1 parent c8d7e3d commit 303ce72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/nextapp/pages/manager/gateways/get-started.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const NamespacesPage: React.FC = () => {
color="bc-link"
textDecor="underline"
>
My Gateways page
My Gateways list
</Link>{' '}
to manage them.
</Text>
Expand Down
19 changes: 3 additions & 16 deletions src/nextapp/shared/data/links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,10 @@ const links: NavLink[] = [
name: 'Gateways',
url: '/manager/gateways',
access: ['portal-user'],
sites: ['devportal'],
},
{
name: 'Gateways Get Started',
url: '/manager/gateways/get-started',
access: ['portal-user'],
sites: ['manager'],
},
{
name: 'Gateways',
altUrls: [
'/manager/gateways/get-started',
'/manager/gateways/detail',
'/manager/gateways/list',
'/manager/services',
'/manager/services/[id]',
'/manager/products',
Expand All @@ -76,12 +69,6 @@ const links: NavLink[] = [
'/manager/service-accounts',
'/manager/poc/activity',
],
access: [
'api-owner',
'provider-user',
'credential-admin',
'access-manager',
],
sites: ['devportal'],
},
{
Expand Down

0 comments on commit 303ce72

Please sign in to comment.