Skip to content

Commit

Permalink
chore(*): hide DP nodes list entry (#222) (#223)
Browse files Browse the repository at this point in the history
(cherry picked from commit 8169c60)

Co-authored-by: Yi Yang <Leopoldthecoder@users.noreply.github.com>
  • Loading branch information
team-gateway-bot and Leopoldthecoder authored May 2, 2024
1 parent b6516f5 commit d676136
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/.reusable_e2e_tests_oss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- consumers
- certificates
- ca-certificates
- data-plane-nodes
# - data-plane-nodes
- keys
- key-sets
- misc
Expand Down
12 changes: 6 additions & 6 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ const sidebarItems = computed<Array<SidebarPrimaryItem>>(() => [
...(
isHybridMode.value
? [
{
name: 'Data Plane Nodes',
to: { name: 'data-plane-nodes' },
key: 'Data Plane Nodes',
active: route.meta?.entity === 'data-plane-node',
},
// {
// name: 'Data Plane Nodes',
// to: { name: 'data-plane-nodes' },
// key: 'Data Plane Nodes',
// active: route.meta?.entity === 'data-plane-node',
// },
]
: []
),
Expand Down
18 changes: 9 additions & 9 deletions src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,15 +387,15 @@ const routes: Array<RouteRecordRaw> = [
},

// Data plane nodes pages
{
name: 'data-plane-nodes',
path: '/data-plane-nodes',
component: () => import('@/pages/data-plane-nodes/List.vue'),
meta: {
entity: 'data-plane-node',
title: 'Data Plane Nodes',
},
},
// {
// name: 'data-plane-nodes',
// path: '/data-plane-nodes',
// component: () => import('@/pages/data-plane-nodes/List.vue'),
// meta: {
// entity: 'data-plane-node',
// title: 'Data Plane Nodes',
// },
// },
]

type EntityNameDefinition = { key: string, keyPlural?: string, capitalizedName?: string, capitalizedNamePlural?: string }
Expand Down
2 changes: 1 addition & 1 deletion src/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import '@kong-ui-public/app-layout/dist/style.css'
import '@kong-ui-public/entities-certificates/dist/style.css'
import '@kong-ui-public/entities-consumer-credentials/dist/style.css'
import '@kong-ui-public/entities-consumers/dist/style.css'
import '@kong-ui-public/entities-data-plane-nodes/dist/style.css'
// import '@kong-ui-public/entities-data-plane-nodes/dist/style.css'
import '@kong-ui-public/entities-gateway-services/dist/style.css'
import '@kong-ui-public/entities-key-sets/dist/style.css'
import '@kong-ui-public/entities-keys/dist/style.css'
Expand Down

0 comments on commit d676136

Please sign in to comment.