Skip to content

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

chore: remove unused routes (#10241)

boojackc4a01b499ef3
diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts
index 1a72791457..15cc8af42e 100644
--- a/frontend/src/router/index.ts
+++ b/frontend/src/router/index.ts
@@ -238,19 +238,6 @@ const routes: Array<RouteRecordRaw> = [
leftSidebar: true,
},
},
- {
- path: "sync-schema",
- name: "workspace.sync-schema",
- meta: { title: () => startCase(t("database.sync-schema.title")) },
- components: {
- content: () => import("../views/SyncDatabaseSchema.vue"),
- leftSidebar: DashboardSidebar,
- },
- props: {
- content: true,
- leftSidebar: true,
- },
- },
{
path: "export-center",
name: "workspace.export-center",
@@ -481,14 +468,6 @@ const routes: Array<RouteRecordRaw> = [
import("../views/SettingWorkspaceSubscription.vue"),
props: true,
},
- {
- path: "integration/slack",
- name: "setting.workspace.integration.slack",
- meta: { title: () => t("common.slack") },
- component: () =>
- import("../views/SettingWorkspaceIntegrationSlack.vue"),
- props: true,
- },
{
path: "sql-review",
name: "setting.workspace.sql-review",
@@ -935,14 +914,14 @@ const routes: Array<RouteRecordRaw> = [
props: true,
},
{
- path: "/sql-editor/:connectionSlug",
+ path: ":connectionSlug",
name: "sql-editor.detail",
meta: { title: () => "Bytebase SQL Editor" },
component: () => import("../views/sql-editor/SQLEditorPage.vue"),
props: true,
},
{
- path: "/sql-editor/sheet/:sheetSlug",
+ path: "sheet/:sheetSlug",
name: "sql-editor.share",
meta: { title: () => "Bytebase SQL Editor" },
component: () => import("../views/sql-editor/SQLEditorPage.vue"),