Skip to content

Commit

Permalink
fix(core/pipeline): Fix revert button for non-templated pipelines (#7440
Browse files Browse the repository at this point in the history
) (#7442)

I accidentally broke this in #7427. Adding the removed line back, but only for non-templated pipelines.
  • Loading branch information
spinnakerbot authored and louisjimenez committed Sep 26, 2019
1 parent 5920240 commit fc7a059
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,8 @@ module.exports = angular
delete $scope.renderablePipeline[key];
}
});
} else {
$scope.renderablePipeline = $scope.pipeline;
}

// if we were looking at a stage that no longer exists, move to the last stage
Expand Down

0 comments on commit fc7a059

Please sign in to comment.