|
@@ -1120,8 +1120,6 @@ export default function LegacyLayout(props: ParentProps) {
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- const openAdmin = () => navigate("/admin")
|
|
|
|
|
-
|
|
|
|
|
function projectRoot(directory: string) {
|
|
function projectRoot(directory: string) {
|
|
|
const key = pathKey(directory)
|
|
const key = pathKey(directory)
|
|
|
const project = layout.projects
|
|
const project = layout.projects
|
|
@@ -2241,8 +2239,6 @@ export default function LegacyLayout(props: ParentProps) {
|
|
|
onOpenSettings={openSettings}
|
|
onOpenSettings={openSettings}
|
|
|
helpLabel={() => language.t("sidebar.help")}
|
|
helpLabel={() => language.t("sidebar.help")}
|
|
|
onOpenHelp={() => platform.openLink("https://kailin.com.cn/feedback")}
|
|
onOpenHelp={() => platform.openLink("https://kailin.com.cn/feedback")}
|
|
|
- adminLabel={() => "个人中心"}
|
|
|
|
|
- onOpenAdmin={openAdmin}
|
|
|
|
|
renderPanel={() =>
|
|
renderPanel={() =>
|
|
|
mobile ? <SidebarPanel project={currentProject} mobile /> : <SidebarPanel project={currentProject} merged />
|
|
mobile ? <SidebarPanel project={currentProject} mobile /> : <SidebarPanel project={currentProject} merged />
|
|
|
}
|
|
}
|