mirror of
https://github.com/harness/drone.git
synced 2025-05-08 13:51:03 +08:00
fix: [AH-592]: use pipeline execution id instead of execution name (#2902)
* fix: [AH-592]: use pipeline execution id instead of execution name
This commit is contained in:
parent
1dae31d608
commit
ec87c7933b
@ -94,7 +94,7 @@ export const ServiceListCell: CellType = ({ row }) => {
|
||||
|
||||
export const DeploymentPipelineCell: CellType = ({ row }) => {
|
||||
const { original } = row
|
||||
const { pipelineId, lastPipelineExecutionName } = original || {}
|
||||
const { pipelineId, lastPipelineExecutionId } = original || {}
|
||||
const { getString } = useStrings()
|
||||
const { scope } = useAppStore()
|
||||
const { getRouteToPipelineExecutionView } = useParentUtils()
|
||||
@ -107,14 +107,14 @@ export const DeploymentPipelineCell: CellType = ({ row }) => {
|
||||
orgIdentifier: scope.orgIdentifier,
|
||||
projectIdentifier: scope.projectIdentifier,
|
||||
pipelineIdentifier: defaultTo(pipelineId, ''),
|
||||
executionIdentifier: defaultTo(lastPipelineExecutionName, ''),
|
||||
executionIdentifier: defaultTo(lastPipelineExecutionId, ''),
|
||||
module: 'cd'
|
||||
})}>
|
||||
{lastPipelineExecutionName}
|
||||
{lastPipelineExecutionId}
|
||||
</Link>
|
||||
) : (
|
||||
<Text color={Color.GREY_900} font={{ variation: FontVariation.BODY }}>
|
||||
{lastPipelineExecutionName}
|
||||
{lastPipelineExecutionId}
|
||||
</Text>
|
||||
)}
|
||||
<Text color={Color.GREY_500} font={{ variation: FontVariation.SMALL }}>
|
||||
|
Loading…
Reference in New Issue
Block a user