Issue #1867 - Fix JS error on project role edit panel (#1869)

This commit is contained in:
Alexander Matyushentsev 2019-07-03 10:36:32 -07:00 committed by Alex Collins
parent 7d86b51246
commit a2c9ed21ff
2 changed files with 0 additions and 8 deletions

View file

@ -141,12 +141,6 @@ export interface ApplicationSource {
*/
path: string;
/**
* DEPRECATED.
* Overridden component parameters.
*/
componentParameterOverrides?: ComponentParameter[];
helm?: ApplicationSourceHelm;
kustomize?: ApplicationSourceKustomize;

View file

@ -55,7 +55,6 @@ export class ApplicationsService {
}
public updateSpec(appName: string, spec: models.ApplicationSpec): Promise<models.ApplicationSpec> {
spec.source.componentParameterOverrides = null;
return requests.put(`/applications/${appName}/spec`).send(spec).then((res) => res.body as models.ApplicationSpec);
}
@ -184,7 +183,6 @@ export class ApplicationsService {
summary: {},
},
}, data);
delete data.spec.source.componentParameterOverrides;
return data as models.Application;
}