Skip to content

Commit

Permalink
Merge pull request opendatahub-io#2863 from pnaik1/RHOAIENG-5325
Browse files Browse the repository at this point in the history
Reloads the page after deleting DSPv1 pipeline server
  • Loading branch information
openshift-merge-bot[bot] authored May 30, 2024
2 parents 872dc78 + bdfef03 commit 20d69a2
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ import {
EmptyStateIcon,
} from '@patternfly/react-core';
import { ExclamationTriangleIcon } from '@patternfly/react-icons';
import DeletePipelineServerModal from '~/concepts/pipelines/content/DeletePipelineServerModal';
import ExternalLink from '~/components/ExternalLink';
import NoPipelineServer from '~/concepts/pipelines/NoPipelineServer';
import { useUser } from '~/redux/selectors';
import { usePipelinesAPI } from './context';
import { DeleteServerModal, usePipelinesAPI } from './context';

// TODO: Fix doc link to go to more docs on v2
const DOCS_LINK =
Expand Down Expand Up @@ -85,7 +84,7 @@ const EnsureCompatiblePipelineServer: React.FC<EnsureCompatiblePipelineServerPro
)}
</EmptyState>
</Bullseye>
<DeletePipelineServerModal isOpen={isDeleting} onClose={() => setIsDeleting(false)} />
<DeleteServerModal isOpen={isDeleting} onClose={() => setIsDeleting(false)} />
</>
);
}
Expand Down

0 comments on commit 20d69a2

Please sign in to comment.