From 4907d213de386ed0bf45b4cc8defbb5ec7e09fd9 Mon Sep 17 00:00:00 2001 From: Jenny <32821331+jenny-s51@users.noreply.github.com> Date: Thu, 2 May 2024 15:59:05 -0400 Subject: [PATCH] fix linting issues --- .../pipelines/topology/usePipelineTaskTopology.ts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/frontend/src/concepts/pipelines/topology/usePipelineTaskTopology.ts b/frontend/src/concepts/pipelines/topology/usePipelineTaskTopology.ts index d16537ab74..2ebb510038 100644 --- a/frontend/src/concepts/pipelines/topology/usePipelineTaskTopology.ts +++ b/frontend/src/concepts/pipelines/topology/usePipelineTaskTopology.ts @@ -38,9 +38,10 @@ const getNestedNodes = ( const componentRef = details.componentRef.name; const component = components[componentRef]; - const status = executions && executions.length > 0 - ? parseRuntimeInfoFromExecutions(name, executions) - : parseRuntimeInfoFromRunDetails(name, runDetails); + const status = + executions && executions.length > 0 + ? parseRuntimeInfoFromExecutions(name, executions) + : parseRuntimeInfoFromRunDetails(name, runDetails); const runAfter: string[] = details.dependentTasks ?? []; const hasSubTask = @@ -123,9 +124,10 @@ export const usePipelineTaskTopology = ( const executorLabel = component?.executorLabel; const executor = executorLabel ? executors[executorLabel] : undefined; - const status = executions && executions.length > 0 - ? parseRuntimeInfoFromExecutions(taskId, executions) - : parseRuntimeInfoFromRunDetails(taskId, runDetails); + const status = + executions && executions.length > 0 + ? parseRuntimeInfoFromExecutions(taskId, executions) + : parseRuntimeInfoFromRunDetails(taskId, runDetails); const nodes: PipelineNodeModelExpanded[] = []; const runAfter: string[] = taskValue.dependentTasks ?? [];