Skip to content

Commit

Permalink
Merge pull request #130 from openshift-cherrypick-robot/cherry-pick-1…
Browse files Browse the repository at this point in the history
…26-to-release-v1.15.x

[release-v1.15.x] SRVKP-5769: Fix Edit Pipeline option link on Pipeline details page
  • Loading branch information
openshift-merge-bot[bot] authored Jul 3, 2024
2 parents 046087a + 5162e1b commit e13deb4
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/components/pipelines-details/PipelineDetailsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,9 @@ const PipelineDetailsPage = () => {
namespace,
});

const editURL = namespace
? `/k8s/ns/${namespace}/${getReferenceForModel(
PipelineModel,
)}/${encodeURIComponent(name)}/yaml`
: `/k8s/cluster/${getReferenceForModel(PipelineModel)}/${encodeURIComponent(
name,
)}/yaml`;
const editURL = `/k8s/ns/${namespace}/${getReferenceForModel(
PipelineModel,
)}/${encodeURIComponent(name)}/builder`;

const resourceTitleFunc = React.useMemo(() => {
return (
Expand Down

0 comments on commit e13deb4

Please sign in to comment.