Skip to content

Commit

Permalink
Merge pull request #3919 from cloudfoundry-incubator/app-vars-fixes
Browse files Browse the repository at this point in the history
Application env vars fixes
  • Loading branch information
richard-cox authored Sep 26, 2019
2 parents 02b3aed + 95c7690 commit c6a6e09
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class CfAppVariablesDataSource extends ListDataSource<ListAppEnvVar, APIR
saveAdd() {
const appEnvVarsEntity = entityCatalogue.getEntity(CF_ENDPOINT_TYPE, appEnvVarsEntityType);
const actionBuilder = appEnvVarsEntity.actionOrchestrator.getActionBuilder('addNewToApplication');
const appVariablesAddAction = actionBuilder(this.cfGuid, this.appGuid, this.transformedEntities, this.addItem);
const appVariablesAddAction = actionBuilder(this.appGuid, this.cfGuid, this.transformedEntities, this.addItem);

this.store.dispatch(appVariablesAddAction);
super.saveAdd();
Expand All @@ -76,7 +76,7 @@ export class CfAppVariablesDataSource extends ListDataSource<ListAppEnvVar, APIR
saveEdit() {
const appEnvVarsEntity = entityCatalogue.getEntity(CF_ENDPOINT_TYPE, appEnvVarsEntityType);
const actionBuilder = appEnvVarsEntity.actionOrchestrator.getActionBuilder('editInApplication');
const appVariablesEditAction = actionBuilder(this.cfGuid, this.appGuid, this.transformedEntities, this.editRow);
const appVariablesEditAction = actionBuilder(this.appGuid, this.cfGuid, this.transformedEntities, this.editRow);

this.store.dispatch(appVariablesEditAction);
super.saveEdit();
Expand Down

0 comments on commit c6a6e09

Please sign in to comment.