From ec48127c000367d083f72781f9c0250a1ac5875e Mon Sep 17 00:00:00 2001 From: openshift-pipelines-bot Date: Mon, 1 Jun 2026 15:14:21 +0000 Subject: [PATCH] [bot] Update release-v1.24.x from openshift-pipelines/console-plugin to e6a9431f60f204f40a779275e0bd77f4d62c8bfa $ git diff --stat e6a9431f60f204f40a779275e0bd77f4d62c8bfa..1576d127bbc997b89ae27f3a699918203d70c747 console-extensions.json | 2 -- src/components/pipelines-details/utils.ts | 5 +---- 2 files changed, 1 insertion(+), 6 deletions(-) https://github.com/openshift-pipelines/console-plugin/compare/e6a9431f60f204f40a779275e0bd77f4d62c8bfa..1576d127bbc997b89ae27f3a699918203d70c747 --- head | 2 +- upstream/console-extensions.json | 2 ++ upstream/src/components/pipelines-details/utils.ts | 5 ++++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/head b/head index 51c84d7e..7670cb7d 100644 --- a/head +++ b/head @@ -1 +1 @@ -1576d127bbc997b89ae27f3a699918203d70c747 +e6a9431f60f204f40a779275e0bd77f4d62c8bfa diff --git a/upstream/console-extensions.json b/upstream/console-extensions.json index cdd103a4..e71d0ae0 100644 --- a/upstream/console-extensions.json +++ b/upstream/console-extensions.json @@ -744,6 +744,7 @@ }, "flags": { "required": [ + "OPENSHIFT_PIPELINE_APPROVAL_TASK", "HIDE_STATIC_PIPELINE_PLUGIN_PIPELINERUN_DETAIL_APPROVALS_TAB" ] } @@ -764,6 +765,7 @@ }, "flags": { "required": [ + "OPENSHIFT_PIPELINE_APPROVAL_TASK", "HIDE_STATIC_PIPELINE_PLUGIN_PIPELINERUN_DETAIL_APPROVALS_TAB" ] } diff --git a/upstream/src/components/pipelines-details/utils.ts b/upstream/src/components/pipelines-details/utils.ts index cc2d4501..20ded2ca 100644 --- a/upstream/src/components/pipelines-details/utils.ts +++ b/upstream/src/components/pipelines-details/utils.ts @@ -28,11 +28,14 @@ export const getPipelineTaskLinks = ( const nameParam = task.taskRef.params?.find( (param) => param.name === 'name', )?.value; + const namespaceParam = task.taskRef.params?.find( + (param) => param.name === 'namespace', + )?.value; return { resourceKind: getSafeTaskResourceKind(task.taskRef.kind), name: nameParam, qualifier: task.name, - namespace: PIPELINE_NAMESPACE, + namespace: namespaceParam ?? PIPELINE_NAMESPACE, resourceApiVersion: version, }; }