diff --git a/ui/src/app/applications/components/application-parameters/application-parameters.tsx b/ui/src/app/applications/components/application-parameters/application-parameters.tsx index 8318c9f9ec1f2..9a968b8e82402 100644 --- a/ui/src/app/applications/components/application-parameters/application-parameters.tsx +++ b/ui/src/app/applications/components/application-parameters/application-parameters.tsx @@ -190,31 +190,21 @@ export const ApplicationParameters = (props: { /> ) }); - if (app?.spec?.source?.helm?.values) { - attributes.push({ - title: 'VALUES', - view: app.spec.source.helm && ( - -
{app.spec.source.helm.values}
-
- ), - edit: (formApi: FormApi) => ( -
-
-                            
-                        
- {props.details.helm.values && ( -
- - -
{props.details.helm.values}
-
-
- )} -
- ) - }); - } + attributes.push({ + title: 'VALUES', + view: app.spec.source.helm && ( + +
{app.spec.source.helm.values}
+
+ ), + edit: (formApi: FormApi) => ( +
+
+                        
+                    
+
+ ) + }); const paramsByName = new Map(); (props.details.helm.parameters || []).forEach(param => paramsByName.set(param.name, param)); const overridesByName = new Map();