File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
src/Shared/Components/CICDHistory Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const BuildAndTaskSummaryTooltipCard = memo(
23
23
const executionInfo = sanitizeWorkflowExecutionStages ( workflowExecutionStages )
24
24
25
25
return (
26
- < div className = "shadow__overlay p-16 br-4 w-350 bg__primary mxh-300 dc__overflow-auto flexbox-col dc__gap-16" >
26
+ < div className = "shadow__overlay p-16 br-4 w-350 bg__overlay border__primary mxh-300 dc__overflow-auto flexbox-col dc__gap-16" >
27
27
{ /* Info section */ }
28
28
< div className = "dc__icon-text-layout" >
29
29
< ICCalendar className = { `scn-7 ${ BASE_ICON_CLASS } ` } />
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ const DeploymentSummaryTooltipCard = memo(
48
48
ciMaterials,
49
49
gitTriggers,
50
50
} : DeploymentSummaryTooltipCardType ) : JSX . Element => (
51
- < div className = "shadow__overlay p-16 br-4 w-400 bg__primary mxh-300 dc__overflow-auto" >
51
+ < div className = "shadow__overlay p-16 br-4 w-400 bg__overlay border__primary mxh-300 dc__overflow-auto" >
52
52
< span className = "fw-6 fs-16 mb-4" style = { { color : colorMap [ status . toLowerCase ( ) ] } } >
53
53
{ getWorkflowNodeStatusTitle ( status ) }
54
54
</ span >
Original file line number Diff line number Diff line change @@ -297,7 +297,6 @@ export const getIconFromWorkflowStageStatusType = (
297
297
case WorkflowStageStatusType . SUCCEEDED :
298
298
return renderSuccessTriggerIcon ( baseClass )
299
299
300
- // NOT_STARTED case is not expected
301
300
case WorkflowStageStatusType . NOT_STARTED :
302
301
case WorkflowStageStatusType . RUNNING :
303
302
return renderProgressingTriggerIcon ( baseClass )
@@ -321,11 +320,14 @@ export const getHistoryItemStatusIconFromWorkflowStages = (
321
320
return renderProgressingTriggerIcon ( baseClass )
322
321
}
323
322
324
- if ( FAILED_WORKFLOW_STAGE_STATUS_MAP [ executionInfo . workerDetails ?. status ] ) {
323
+ if (
324
+ ! FAILED_WORKFLOW_STAGE_STATUS_MAP [ executionInfo . currentStatus ] &&
325
+ FAILED_WORKFLOW_STAGE_STATUS_MAP [ executionInfo . workerDetails . status ]
326
+ ) {
325
327
return < ICWarningY5 className = { baseClass } />
326
328
}
327
329
328
- return getIconFromWorkflowStageStatusType ( executionInfo . currentStatus , baseClass )
330
+ return getIconFromWorkflowStageStatusType ( executionInfo . workerDetails . status , baseClass )
329
331
}
330
332
331
333
export const getWorkerPodBaseUrl = ( clusterId : number = DEFAULT_CLUSTER_ID , podNamespace : string = DEFAULT_NAMESPACE ) =>
You can’t perform that action at this time.
0 commit comments