From 5f972335cbf4e957e0592829f18528fe768a7015 Mon Sep 17 00:00:00 2001 From: Ethan Rogers Date: Mon, 30 Sep 2019 12:11:22 -0400 Subject: [PATCH] fix(bakeManifest): fix bake manifest UI rendering rendering was messed up when kustomize was disables via settings. previously it would render both forms when no rendering option was selected. --- .../config/stages/bakeManifest/BakeManifestStageForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/modules/core/src/pipeline/config/stages/bakeManifest/BakeManifestStageForm.tsx b/app/scripts/modules/core/src/pipeline/config/stages/bakeManifest/BakeManifestStageForm.tsx index 52c47d3ba4c..5fa491d1793 100644 --- a/app/scripts/modules/core/src/pipeline/config/stages/bakeManifest/BakeManifestStageForm.tsx +++ b/app/scripts/modules/core/src/pipeline/config/stages/bakeManifest/BakeManifestStageForm.tsx @@ -27,7 +27,7 @@ export class BakeManifestStageForm extends React.Component< private shouldRenderHelm(): boolean { const stage = this.props.formik.values; - return stage.templateRenderer === this.HELM_RENDERER || !SETTINGS.feature.kustomizeEnabled; + return stage.templateRenderer === this.HELM_RENDERER; } public render() {