diff --git a/src/components/Executions/types.ts b/src/components/Executions/types.ts index d84100f4e1..728cd12dd5 100644 --- a/src/components/Executions/types.ts +++ b/src/components/Executions/types.ts @@ -61,7 +61,7 @@ export interface WorkflowNodeExecution extends NodeExecution { } export interface NodeExecutionDetails { - displayType: NodeExecutionDisplayType; + displayType: string; displayId: string; taskTemplate?: TaskTemplate; } diff --git a/src/components/Executions/useNodeExecutionDetails.ts b/src/components/Executions/useNodeExecutionDetails.ts index fe1410bdd5..4af381f9aa 100644 --- a/src/components/Executions/useNodeExecutionDetails.ts +++ b/src/components/Executions/useNodeExecutionDetails.ts @@ -78,9 +78,7 @@ function createTaskNodeExecutionDetails( return { taskTemplate, displayId: taskTemplate.id.name, - displayType: - taskTypeToNodeExecutionDisplayType[taskTemplate.type as TaskType] ?? - NodeExecutionDisplayType.UnknownTask + displayType: taskTemplate.type }; }