Add workflow execution process
This commit is contained in:
@@ -96,8 +96,8 @@ const WorkflowDetail = () => {
|
||||
<WorkflowBaseInfoEditDialog
|
||||
trigger={
|
||||
<div className="flex flex-col space-y-1 cursor-pointer items-start">
|
||||
<div className="">{workflow.name ? workflow.name : "未命名工作流"}</div>
|
||||
<div className="text-sm text-muted-foreground">{workflow.description ? workflow.description : "添加流程说明"}</div>
|
||||
<div className="truncate max-w-[200px]">{workflow.name ? workflow.name : "未命名工作流"}</div>
|
||||
<div className="text-sm text-muted-foreground truncate max-w-[200px]">{workflow.description ? workflow.description : "添加流程说明"}</div>
|
||||
</div>
|
||||
}
|
||||
/>
|
||||
|
||||
@@ -43,7 +43,7 @@ const Workflow = () => {
|
||||
if (!name) {
|
||||
name = "未命名工作流";
|
||||
}
|
||||
return <div className="flex items-center">{name}</div>;
|
||||
return <div className="max-w-[150px] truncate">{name}</div>;
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -54,7 +54,7 @@ const Workflow = () => {
|
||||
if (!description) {
|
||||
description = "-";
|
||||
}
|
||||
return description;
|
||||
return <div className="max-w-[200px] truncate">{description}</div>;
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -211,4 +211,3 @@ const Workflow = () => {
|
||||
};
|
||||
|
||||
export default Workflow;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user