Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Clean props config in router

Tianzhou Chendb93ee117b93
diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts
index 51b69874e8..2a8255a4cd 100644
--- a/frontend/src/router/index.ts
+++ b/frontend/src/router/index.ts
@@ -56,13 +56,11 @@ const routes: Array<RouteRecordRaw> = [
name: "workspace.inbox",
meta: { displayName: "Inbox" },
component: defineAsyncComponent(() => import("../views/Inbox.vue")),
- props: { actionbar: true, content: true },
},
{
path: "",
name: HOME_MODULE,
component: ThreeColumnView,
-
children: [
{
path: "",
@@ -73,7 +71,11 @@ const routes: Array<RouteRecordRaw> = [
leftSidebar: MainSidebar,
rightSidebar: ActivitySidebar,
},
- props: { actionbar: true, content: true },
+ props: {
+ content: true,
+ leftSidebar: true,
+ rightSidebar: true,
+ },
},
{
path: "setting",
@@ -86,6 +88,10 @@ const routes: Array<RouteRecordRaw> = [
leftSidebar: defineAsyncComponent(
() => import("../views/SettingSidebar.vue")
),
+ props: {
+ content: true,
+ leftSidebar: true,
+ },
},
children: [
{
@@ -164,7 +170,7 @@ const routes: Array<RouteRecordRaw> = [
),
leftSidebar: MainSidebar,
},
- props: { actionbar: true, content: true },
+ props: { content: true, leftSidebar: true },
},
{
path: "instance",
@@ -176,7 +182,7 @@ const routes: Array<RouteRecordRaw> = [
),
leftSidebar: MainSidebar,
},
- props: { actionbar: true, content: true },
+ props: { content: true, leftSidebar: true },
},
{
path: "pipeline/:pipelineId",
@@ -188,7 +194,7 @@ const routes: Array<RouteRecordRaw> = [
),
leftSidebar: MainSidebar,
},
- props: { actionbar: true, content: true },
+ props: { content: true, leftSidebar: true },
},
],
},