diff --git a/frontend/src/concepts/pipelines/content/createRun/RunForm.tsx b/frontend/src/concepts/pipelines/content/createRun/RunForm.tsx index 52c539d5cf2..c1a98887e54 100644 --- a/frontend/src/concepts/pipelines/content/createRun/RunForm.tsx +++ b/frontend/src/concepts/pipelines/content/createRun/RunForm.tsx @@ -1,11 +1,11 @@ import * as React from 'react'; -import { Form, FormSection } from '@patternfly/react-core'; +import { Form, FormGroup, FormSection, Text } from '@patternfly/react-core'; import NameDescriptionField from '~/concepts/k8s/NameDescriptionField'; -import ProjectSelector from '~/concepts/projects/ProjectSelector'; import { RunFormData } from '~/concepts/pipelines/content/createRun/types'; import { ValueOf } from '~/typeHelpers'; import RunTypeSection from '~/concepts/pipelines/content/createRun/contentSections/RunTypeSection'; import ParamsSection from '~/concepts/pipelines/content/createRun/contentSections/ParamsSection'; +import { getProjectDisplayName } from '~/pages/projects/utils'; import PipelineSection from './contentSections/PipelineSection'; import { CreateRunPageSections, runPageSectionTitles } from './const'; @@ -21,14 +21,10 @@ const RunForm: React.FC = ({ data, onValueChange }) => ( e.preventDefault(); }} > - - onValueChange('project', project)} - namespace={data.project.metadata.name} - /> + + + {getProjectDisplayName(data.project)} + = { - [CreateRunPageSections.PROJECT]: 'Project', [CreateRunPageSections.NAME_DESC]: 'Name and description', [CreateRunPageSections.PIPELINE]: 'Pipeline', // [CreateRunPageSections.EXPERIMENT]: 'Experiment',