Skip to content

Commit 52b18b3

Browse files
committed
code revert
1 parent 20b274e commit 52b18b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/cdPipeline/BuildCD.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ export default function BuildCD({
338338
form.selectedRegistry = { ...selectedRegistry,
339339
value: selectedRegistry.id,
340340
label: selectedRegistry.id,
341+
startIcon: <div className={`dc__registry-icon ${selectedRegistry.registryType}`} />
341342
} as RegistryPayloadWithSelectType
342343
form.containerRegistryName = selectedRegistry.id
343344
setFormData(form)
@@ -593,7 +594,6 @@ export default function BuildCD({
593594
}
594595

595596
const handleUpdateUserApprovalConfig = (updatedUserApprovalConfig: CDFormType['userApprovalConfig']) => {
596-
console.log(formData, 'form')
597597
const _form = structuredClone(formData)
598598
const _formDataErrorObj = structuredClone(formDataErrorObj)
599599

@@ -792,7 +792,7 @@ export default function BuildCD({
792792
!noGitOpsModuleInstalledAndConfigured &&
793793
renderDeploymentAppType()}
794794
{isAdvanced ? renderAdvancedDeploymentStrategy() : renderBasicDeploymentStrategy()}
795-
{
795+
{isAdvanced &&
796796
getBuildCDManualApproval &&
797797
getBuildCDManualApproval(
798798
formData.userApprovalConfig,

0 commit comments

Comments
 (0)