Skip to content

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

Move 404/500/Inbox to the ThreeColumnLayout

Tianzhou Chen58e2464e1cc9
diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts
index 2a8255a4cd..98bef1b258 100644
--- a/frontend/src/router/index.ts
+++ b/frontend/src/router/index.ts
@@ -39,24 +39,6 @@ const routes: Array<RouteRecordRaw> = [
name: HOME_MODULE,
component: DashboardLayout,
children: [
- {
- path: "404",
- name: "error.404",
- meta: { displayName: "404" },
- component: defineAsyncComponent(() => import("../views/Page404.vue")),
- },
- {
- path: "500",
- name: "error.500",
- meta: { displayName: "500" },
- component: defineAsyncComponent(() => import("../views/Page500.vue")),
- },
- {
- path: "inbox",
- name: "workspace.inbox",
- meta: { displayName: "Inbox" },
- component: defineAsyncComponent(() => import("../views/Inbox.vue")),
- },
{
path: "",
name: HOME_MODULE,
@@ -77,6 +59,49 @@ const routes: Array<RouteRecordRaw> = [
rightSidebar: true,
},
},
+ {
+ path: "404",
+ name: "error.404",
+ meta: { displayName: "404" },
+ components: {
+ content: defineAsyncComponent(
+ () => import("../views/Page404.vue")
+ ),
+ leftSidebar: MainSidebar,
+ },
+ props: {
+ content: true,
+ leftSidebar: true,
+ },
+ },
+ {
+ path: "500",
+ name: "error.500",
+ meta: { displayName: "500" },
+ components: {
+ content: defineAsyncComponent(
+ () => import("../views/Page500.vue")
+ ),
+ leftSidebar: MainSidebar,
+ },
+ props: {
+ content: true,
+ leftSidebar: true,
+ },
+ },
+ {
+ path: "inbox",
+ name: "workspace.inbox",
+ meta: { displayName: "Inbox" },
+ components: {
+ content: defineAsyncComponent(() => import("../views/Inbox.vue")),
+ leftSidebar: MainSidebar,
+ },
+ props: {
+ content: true,
+ leftSidebar: true,
+ },
+ },
{
path: "setting",
name: "setting",