File tree Expand file tree Collapse file tree 3 files changed +11
-13
lines changed
src/Shared/Components/CICDHistory Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -35,11 +35,11 @@ const BuildAndTaskSummaryTooltipCard = memo(
35
35
</ Tooltip >
36
36
37
37
< WorkerStatus
38
- message = { executionInfo ?. workerDetails ? .message }
39
- podStatus = { executionInfo ?. workerDetails ? .status }
38
+ message = { executionInfo ?. workerDetails . message }
39
+ podStatus = { executionInfo ?. workerDetails . status }
40
40
stage = { stage }
41
- finishedOn = { executionInfo ?. workerDetails ? .endTime }
42
- clusterId = { executionInfo ?. workerDetails ? .clusterId || DEFAULT_CLUSTER_ID }
41
+ finishedOn = { executionInfo ?. workerDetails . endTime }
42
+ clusterId = { executionInfo ?. workerDetails . clusterId || DEFAULT_CLUSTER_ID }
43
43
workerPodName = { podName }
44
44
namespace = { namespace }
45
45
workerMessageContainerClassName = "cn-7 fs-12 fw-4 lh-18"
Original file line number Diff line number Diff line change @@ -21,19 +21,17 @@ const GitTriggerList = memo(
21
21
{ Object . keys ( gitTriggers ?? { } ) . length > 0 &&
22
22
ciMaterials ?. map ( ( ciMaterial ) => {
23
23
const gitDetail : GitTriggers = gitTriggers [ ciMaterial . id ]
24
- const sourceType = gitDetail ?. CiConfigureSourceType
25
- ? gitDetail . CiConfigureSourceType
26
- : ciMaterial ?. type
27
- const sourceValue = gitDetail ?. CiConfigureSourceValue
28
- ? gitDetail . CiConfigureSourceValue
29
- : ciMaterial ?. value
30
- const gitMaterialUrl = gitDetail ?. GitRepoUrl ? gitDetail . GitRepoUrl : ciMaterial ?. url
24
+
25
+ const sourceType = gitDetail ?. CiConfigureSourceType || ciMaterial ?. type
26
+ const sourceValue = gitDetail ?. CiConfigureSourceValue || ciMaterial ?. value
27
+ const gitMaterialUrl = gitDetail ?. GitRepoUrl || ciMaterial ?. url
28
+
31
29
if ( sourceType !== SourceTypeMap . WEBHOOK && ! gitDetail ) {
32
30
return null
33
31
}
34
32
35
33
return (
36
- < div className = { `${ addMarginTop ? 'mt-22' : '' } ci-material-detail" ` } key = { ciMaterial . id } >
34
+ < div className = { `${ addMarginTop ? 'mt-22' : '' } ` } key = { ciMaterial . id } >
37
35
{ sourceType === SourceTypeMap . WEBHOOK ? (
38
36
< div className = "flex left column" >
39
37
< CiPipelineSourceConfig
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 = "build-card-popup 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__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 >
You can’t perform that action at this time.
0 commit comments