Skip to content

Commit

Permalink
Merge pull request #10461 from openshift-cherrypick-robot/cherry-pick…
Browse files Browse the repository at this point in the history
…-10334-to-release-4.9

[release-4.9] Bug 2023339: fix broken Argo CD link image
  • Loading branch information
openshift-merge-robot committed Feb 9, 2022
2 parents 575bfb0 + ebfbe96 commit 0c1b663
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {
import { GitAltIcon } from '@patternfly/react-icons';
import * as _ from 'lodash';
import { useTranslation } from 'react-i18next';
// import { routeDecoratorIcon } from '@console/dev-console/src/components/import/render-utils';
import { ExternalLink, Timestamp } from '@console/internal/components/utils';
import { useK8sWatchResource } from '@console/internal/components/utils/k8s-watch-hook';
import { ConsoleLinkModel } from '@console/internal/models';
Expand All @@ -24,6 +23,7 @@ import {
YellowExclamationTriangleIcon,
GrayUnknownIcon,
} from '@console/shared';
import * as argoIcon from '../../images/argo.png';
import { GitOpsEnvironment } from '../utils/gitops-types';
import GitOpsResourcesSection from './GitOpsResourcesSection';
import './GitOpsDetails.scss';
Expand Down Expand Up @@ -77,9 +77,6 @@ const GitOpsDetails: React.FC<GitOpsDetailsProps> = ({ envs, appName }) => {
oldAPI = envs[0] && envs[0].deployments ? envs[0].deployments === null : true;
}

const ArgoCDIcon =
'/api/kubernetes/apis/packages.operators.coreos.com/v1/namespaces/openshift-marketplace/packagemanifests/argocd-operator/icon?resourceVersion=argocd-operator.alpha.argocd-operator.v0.0.14';

return (
<div className="odc-gitops-details">
{oldAPI && (
Expand Down Expand Up @@ -179,7 +176,7 @@ const GitOpsDetails: React.FC<GitOpsDetailsProps> = ({ envs, appName }) => {
<span className="odc-gitops-details__env-section__argo-external-link">
<img
loading="lazy"
src={ArgoCDIcon}
src={argoIcon}
alt="Argo CD"
width="19px"
height="24px"
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0c1b663

Please sign in to comment.