From d91f5d8f0cadf747ecb08d412e399e05615f2deb Mon Sep 17 00:00:00 2001 From: anotherchrisberry Date: Fri, 14 Apr 2017 09:36:46 -0700 Subject: [PATCH] fix(pipelines): force stage config rerender on refId change --- app/scripts/modules/core/pipeline/config/stages/stage.module.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/scripts/modules/core/pipeline/config/stages/stage.module.js b/app/scripts/modules/core/pipeline/config/stages/stage.module.js index efde49d2fda..1c90f2bbe83 100644 --- a/app/scripts/modules/core/pipeline/config/stages/stage.module.js +++ b/app/scripts/modules/core/pipeline/config/stages/stage.module.js @@ -180,6 +180,7 @@ module.exports = angular.module('spinnaker.core.pipeline.config.stage', [ $scope.$on('pipeline-json-edited', this.selectStage); $scope.$watch('stage.type', this.selectStage); $scope.$watch('viewState.stageIndex', this.selectStage); + $scope.$watch('stage.refId', this.selectStage); }) .controller('RestartStageCtrl', function($scope, $stateParams, $http, API, confirmationModalService) { var restartStage = function () {