feat: rewrite workflows page as dense list
This commit is contained in:
@@ -102,6 +102,10 @@ export function adaptWorkflowLookupItem(
|
||||
| "workflow_type"
|
||||
| "workflow_status"
|
||||
| "current_step"
|
||||
| "failure_count"
|
||||
| "review_task_status"
|
||||
| "revision_count"
|
||||
| "pending_manual_confirm"
|
||||
| "updated_at"
|
||||
>,
|
||||
): WorkflowLookupItemVM {
|
||||
@@ -113,6 +117,10 @@ export function adaptWorkflowLookupItem(
|
||||
statusMeta: getOrderStatusMeta(workflow.workflow_status),
|
||||
currentStep: workflow.current_step,
|
||||
currentStepLabel: getWorkflowStepMeta(workflow.current_step).label,
|
||||
failureCount: workflow.failure_count,
|
||||
reviewTaskStatus: workflow.review_task_status,
|
||||
revisionCount: workflow.revision_count,
|
||||
pendingManualConfirm: workflow.pending_manual_confirm,
|
||||
updatedAt: workflow.updated_at,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user