fix conflict

This commit is contained in:
yoan
2024-11-15 10:27:10 +08:00
17 changed files with 402 additions and 15 deletions

View File

@@ -58,19 +58,19 @@ const Workflow = () => {
},
},
{
accessorKey: "executionMethod",
accessorKey: "type",
header: "执行方式",
cell: ({ row }) => {
const method = row.getValue("executionMethod");
const method = row.getValue("type");
if (!method) {
return "-";
} else if (method === "manual") {
return "手动";
} else if (method === "auto") {
const crontab: string = row.getValue("crontab");
const crontab: string = row.original.crontab ?? "";
return (
<div className="flex flex-col">
<div className="flex flex-col space-y-1">
<div></div>
<div className="text-muted-foreground text-xs">{crontab}</div>
</div>
);
@@ -211,3 +211,4 @@ const Workflow = () => {
};
export default Workflow;