From 5197e0b7ac7e2b0bd4e7f0846e838bb3d4b6a5c9 Mon Sep 17 00:00:00 2001 From: Justin Reynolds Date: Mon, 2 Oct 2017 14:04:40 -0700 Subject: [PATCH] fix(core/pipeline): Fix configure view state callback for MPT --- .../modules/core/src/pipeline/config/pipelineConfigurer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/modules/core/src/pipeline/config/pipelineConfigurer.js b/app/scripts/modules/core/src/pipeline/config/pipelineConfigurer.js index 0fde17ee59d..24b784cac37 100644 --- a/app/scripts/modules/core/src/pipeline/config/pipelineConfigurer.js +++ b/app/scripts/modules/core/src/pipeline/config/pipelineConfigurer.js @@ -254,8 +254,8 @@ module.exports = angular.module('spinnaker.core.pipeline.config.pipelineConfigur // Poor react setState this.setViewState = (newViewState) => { + Object.assign($scope.viewState, newViewState); const viewState = _.clone($scope.viewState); - Object.assign(viewState, newViewState); $scope.$applyAsync(() => $scope.viewState = viewState); };