Skip to content

Commit

Permalink
Merge pull request #2424 from jeff-phillips-18/parameters
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue.

Fix for adding non-builder templates to a project

Fixes #2420
  • Loading branch information
openshift-merge-robot authored Nov 1, 2017
2 parents c0e7f37 + f8a817c commit ff20f86
Show file tree
Hide file tree
Showing 2 changed files with 142 additions and 140 deletions.
10 changes: 6 additions & 4 deletions app/scripts/directives/processTemplateDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,13 @@
ctrl.$onInit = function() {
ctrl.loginBaseUrl = DataService.openshiftAPIBaseUrl();
ctrl.preSelectedProject = ctrl.selectedProject = ctrl.project;
if (ctrl.project) {
ctrl.templateProject = ctrl.project;
ctrl.templateProjectChange();
if (ctrl.useProjectTemplate) {
if (ctrl.project) {
ctrl.templateProject = ctrl.project;
ctrl.templateProjectChange();
}
listProjects();
}
listProjects();

ctrl.noProjectsCantCreate = false;
$scope.$on('no-projects-cannot-create', function() {
Expand Down
Loading

0 comments on commit ff20f86

Please sign in to comment.