Skip to content

Commit

Permalink
Revert "fix(msg transform): hide msg transform first"
Browse files Browse the repository at this point in the history
This reverts commit 8ac5114.
  • Loading branch information
Kinplemelon authored and ysfscream committed Aug 5, 2024
1 parent 1ae49b7 commit 7606e46
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 7606e46

Please sign in to comment.