From 303ce7281affdae6fd776ea2bb69b2f6208f43f1 Mon Sep 17 00:00:00 2001 From: Russell Vinegar Date: Wed, 26 Jun 2024 14:13:41 -0700 Subject: [PATCH] fix links.ts for new gateways pages --- .../pages/manager/gateways/get-started.tsx | 2 +- src/nextapp/shared/data/links.ts | 19 +++---------------- 2 files changed, 4 insertions(+), 17 deletions(-) diff --git a/src/nextapp/pages/manager/gateways/get-started.tsx b/src/nextapp/pages/manager/gateways/get-started.tsx index 0a8761bee..8004d545f 100644 --- a/src/nextapp/pages/manager/gateways/get-started.tsx +++ b/src/nextapp/pages/manager/gateways/get-started.tsx @@ -46,7 +46,7 @@ const NamespacesPage: React.FC = () => { color="bc-link" textDecor="underline" > - My Gateways page + My Gateways list {' '} to manage them. diff --git a/src/nextapp/shared/data/links.ts b/src/nextapp/shared/data/links.ts index 80389bbdd..7fece7ce3 100644 --- a/src/nextapp/shared/data/links.ts +++ b/src/nextapp/shared/data/links.ts @@ -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', @@ -76,12 +69,6 @@ const links: NavLink[] = [ '/manager/service-accounts', '/manager/poc/activity', ], - access: [ - 'api-owner', - 'provider-user', - 'credential-admin', - 'access-manager', - ], sites: ['devportal'], }, {