Skip to content

Commit

Permalink
fix(msg transform): hide msg transform first
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinplemelon authored and ysfscream committed Aug 2, 2024
1 parent 3de9fb3 commit 8ac5114
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion src/hooks/useMenus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default (): {
{ title: 'connector', path: '/connector' },
{ title: 'schema-validation', path: '/schema-validation' },
{ title: 'schema', path: '/schema' },
{ title: 'message-transform', path: '/message-transform' },
// { title: 'message-transform', path: '/message-transform' },
]

const diagnose = [
Expand Down
50 changes: 25 additions & 25 deletions src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -800,31 +800,31 @@ export const routes: Array<RouteRecordRaw> = [
],
},
// Message Transform
{
path: '/message-transform',
component: Layout,
meta: {
hideKey: 'message-transform',
authRequired: true,
},
children: [
{
path: '',
name: 'message-transform',
component: () => import('@/views/RuleEngine/MessageTransform/MessageTransform.vue'),
},
{
path: 'create',
name: 'message-transform-create',
component: () => import('@/views/RuleEngine/MessageTransform/TransformCreate.vue'),
},
{
path: ':transformName',
name: 'message-transform-detail',
component: () => import('@/views/RuleEngine/MessageTransform/TransformDetail.vue'),
},
],
},
// {
// path: '/message-transform',
// component: Layout,
// meta: {
// hideKey: 'message-transform',
// authRequired: true,
// },
// children: [
// {
// path: '',
// name: 'message-transform',
// component: () => import('@/views/RuleEngine/MessageTransform/MessageTransform.vue'),
// },
// {
// path: 'create',
// name: 'message-transform-create',
// component: () => import('@/views/RuleEngine/MessageTransform/TransformCreate.vue'),
// },
// {
// path: ':transformName',
// name: 'message-transform-detail',
// component: () => import('@/views/RuleEngine/MessageTransform/TransformDetail.vue'),
// },
// ],
// },
// Schema Registry
{
path: '/schema',
Expand Down

0 comments on commit 8ac5114

Please sign in to comment.