update: data source
This commit is contained in:
@@ -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: "系统管理",
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user