mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
fix: Add namespace to sub-application link URLs (#11946)
Signed-off-by: Ian Delahorne <ian@patreon.com> Co-authored-by: Remington Breeze <remington@breeze.software>
This commit is contained in:
parent
4a50114126
commit
bd8777a8f8
3 changed files with 4 additions and 3 deletions
1
USERS.md
1
USERS.md
|
|
@ -170,6 +170,7 @@ Currently, the following organizations are **officially** using Argo CD:
|
|||
1. [Packlink](https://www.packlink.com/)
|
||||
1. [Pandosearch](https://www.pandosearch.com/en/home)
|
||||
1. [PagerDuty](https://www.pagerduty.com/)
|
||||
1. [Patreon](https://www.patreon.com/)
|
||||
1. [PayPay](https://paypay.ne.jp/)
|
||||
1. [Peloton Interactive](https://www.onepeloton.com/)
|
||||
1. [Pigment](https://www.gopigment.com/)
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ export const ApplicationResourceList = ({
|
|||
<Consumer>
|
||||
{ctx => (
|
||||
<span className='application-details__external_link'>
|
||||
<a href={ctx.baseHref + 'applications/' + res.name} title='Open application'>
|
||||
<a href={ctx.baseHref + 'applications/' + res.namespace + '/' + res.name} title='Open application'>
|
||||
<i className='fa fa-external-link-alt' />
|
||||
</a>
|
||||
</span>
|
||||
|
|
|
|||
|
|
@ -428,7 +428,7 @@ function renderPodGroup(props: ApplicationResourceTreeProps, id: string, node: R
|
|||
{appNode && !rootNode && (
|
||||
<Consumer>
|
||||
{ctx => (
|
||||
<a href={ctx.baseHref + 'applications/' + node.name} title='Open application'>
|
||||
<a href={ctx.baseHref + 'applications/' + node.namespace + '/' + node.name} title='Open application'>
|
||||
<i className='fa fa-external-link-alt' />
|
||||
</a>
|
||||
)}
|
||||
|
|
@ -644,7 +644,7 @@ function renderResourceNode(props: ApplicationResourceTreeProps, id: string, nod
|
|||
{appNode && !rootNode && (
|
||||
<Consumer>
|
||||
{ctx => (
|
||||
<a href={ctx.baseHref + 'applications/' + node.name} title='Open application'>
|
||||
<a href={ctx.baseHref + 'applications/' + node.namespace + '/' + node.name} title='Open application'>
|
||||
<i className='fa fa-external-link-alt' />
|
||||
</a>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Reference in a new issue