update: data source

This commit is contained in:
tao.chen
2026-08-14 11:59:06 +08:00
parent 225a585499
commit 480e1cc638
15 changed files with 432 additions and 559 deletions
+2 -3
View File
@@ -1,6 +1,6 @@
import Icon from "./Icon";
type ActivePage = "home" | "scripts" | "data-resources" | "schedules" | "system";
type ActivePage = "home" | "scripts" | "schedules" | "system";
type SidebarProps = {
activePage: ActivePage;
@@ -15,7 +15,7 @@ type SidebarProps = {
type NavigationItem = {
label: string;
icon: "home" | "script" | "database" | "schedule" | "settings";
icon: "home" | "script" | "schedule" | "settings";
page: ActivePage;
};
@@ -44,7 +44,6 @@ export function Sidebar({
const navigation: NavigationItem[] = [
{ label: "工作台", icon: "home", page: "home" },
{ label: "构建脚本", icon: "script", page: "scripts" },
{ label: "数据资源", icon: "database", page: "data-resources" },
{ label: "调度配置", icon: "schedule", page: "schedules" },
];
@@ -28,7 +28,6 @@ export function Topbar({
home: "工作台",
scripts: "构建脚本",
schedules: "调度配置",
"data-resources": "数据资源",
system: "系统管理",
};