diff --git a/src/components/BuildConfigCreateEditPage/BuildConfigCreateEditPage.tsx b/src/components/BuildConfigCreateEditPage/BuildConfigCreateEditPage.tsx index 48a22cfc..225e584e 100644 --- a/src/components/BuildConfigCreateEditPage/BuildConfigCreateEditPage.tsx +++ b/src/components/BuildConfigCreateEditPage/BuildConfigCreateEditPage.tsx @@ -79,7 +79,7 @@ interface IBuildParamOption { } interface IBuildParamData { - [title: string]: { value: string; description?: string }; + [title: string]: { value: string }; } interface IBuildConfigCreateEditPageProps { @@ -878,7 +878,6 @@ export const BuildConfigCreateEditPage = ({ isEditPage = false }: IBuildConfigCr ...buildParamData, [selection as string]: { value: '', - description: buildParamOptions.find((option) => option.title === selection)?.description, }, }); setIsBuildParamSelectOpen(false); @@ -949,12 +948,12 @@ export const BuildConfigCreateEditPage = ({ isEditPage = false }: IBuildConfigCr } > {key === 'ALIGNMENT_PARAMETERS' ? generateAlignmentParametersDescription(getFieldValue(buildConfigEntityAttributes.buildType.id)) - : buildParam.description} + : buildParamOptions.find((option) => option.title === key)?.description} {key === 'BUILD_CATEGORY' ? (