Skip to content

Commit

Permalink
fix: Repo URL link for unsupported sources links to https://<argocd>/…
Browse files Browse the repository at this point in the history
…null/path/to/chart (#14861)

* Fix #14860

Fix #14860

Signed-off-by: Talia Stocks <928827+taliastocks@users.noreply.github.com>

* Update USERS.md

Signed-off-by: Talia Stocks <928827+taliastocks@users.noreply.github.com>

---------

Signed-off-by: Talia Stocks <928827+taliastocks@users.noreply.github.com>
  • Loading branch information
taliastocks committed Aug 2, 2023
1 parent c8ae5bc commit 8270225
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions USERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ Currently, the following organizations are **officially** using Argo CD:
1. [OpsVerse](https://opsverse.io)
1. [Optoro](https://www.optoro.com/)
1. [Orbital Insight](https://orbitalinsight.com/)
1. [Oscar Health Insurance](https://hioscar.com/)
1. [p3r](https://www.p3r.one/)
1. [Packlink](https://www.packlink.com/)
1. [PagerDuty](https://www.pagerduty.com/)
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/shared/components/revision.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const Revision = ({repoUrl, revision, path, isForPath, children}: {repoUr
revision = revision || '';
const hasPath = path && path !== '.';
let url = revisionUrl(repoUrl, revision, hasPath);
if (hasPath) {
if (url !== null && hasPath) {
url += '/' + path;
}
const content = children || (isSHA(revision) ? revision.substr(0, 7) : revision);
Expand Down

0 comments on commit 8270225

Please sign in to comment.