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
)

I accidentally broke this in #7427. Adding the removed line back, but only for non-templated pipelines.
  • Loading branch information
jervi authored and louisjimenez committed Sep 26, 2019
1 parent 45f3c24 commit bd4ba0e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,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 bd4ba0e

Please sign in to comment.