feat(web): add copy workflow button

This commit is contained in:
BennyKok
2023-12-21 17:58:10 +08:00
parent 448cb55c89
commit d57842d2a9
3 changed files with 50 additions and 2 deletions
@@ -2,6 +2,7 @@ import { DeploymentsTable, RunsTable } from "../../../components/RunsTable";
import { findFirstTableWithVersion } from "../../../server/findFirstTableWithVersion";
import { MachinesWSMain } from "@/components/MachinesWS";
import {
CopyWorkflowVersion,
CreateDeploymentButton,
MachineSelect,
RunWorkflowButton,
@@ -45,6 +46,7 @@ export default async function Page({
<MachineSelect machines={machines} />
<RunWorkflowButton workflow={workflow} machines={machines} />
<CreateDeploymentButton workflow={workflow} machines={machines} />
<CopyWorkflowVersion workflow={workflow} />
</div>
<VersionDetails workflow={workflow} />