Skip to content

Commit

Permalink
Correctly merge env edits after background upates
Browse files Browse the repository at this point in the history
  • Loading branch information
spadgett committed Oct 31, 2017
1 parent 685f44d commit 7e266f0
Show file tree
Hide file tree
Showing 2 changed files with 125 additions and 125 deletions.
2 changes: 1 addition & 1 deletion app/scripts/directives/editEnvironmentVariables.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
// variables. If not, merge the environment edits into the updated
// deployment config object.
if (EnvironmentService.isEnvironmentEqual(currentValue, previousValue)) {
ctrl.updatedObject = EnvironmentService.mergeEdits(currentValue, previousValue);
ctrl.updatedObject = EnvironmentService.mergeEdits(ctrl.updatedObject, currentValue);
return;
}

Expand Down
Loading

0 comments on commit 7e266f0

Please sign in to comment.