mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-02 06:56:36 +08:00
abe8fb8268
将 Remote 网络策略收敛为 allow_insecure,去掉脱敏与无用字段; Pages 详情拆为部署/设置 Tab,统一卡片样式与来源信息展示。
22 lines
525 B
TypeScript
22 lines
525 B
TypeScript
'use client';
|
|
|
|
import { type PagesProject } from '@/lib/services/openflare';
|
|
|
|
import { DeploymentHistory } from '../components/deployment-history';
|
|
|
|
interface DeploymentsTabProps {
|
|
project: PagesProject;
|
|
}
|
|
|
|
export function DeploymentsTab({ project }: DeploymentsTabProps) {
|
|
return (
|
|
<DeploymentHistory
|
|
key={`deployments-${project.id}`}
|
|
projectId={project.id}
|
|
activeDeploymentId={project.active_deployment_id}
|
|
rootDir={project.root_dir ?? ''}
|
|
entryFile={project.entry_file}
|
|
/>
|
|
);
|
|
}
|