Skip to content

Commit

Permalink
Merge pull request #2429 from spadgett/fix-template-msg
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue.

Fix bug where wrong next steps message can be displayed

/assign @jwforres 

Fixes #2427
  • Loading branch information
openshift-merge-robot authored Nov 1, 2017
2 parents 84d6d04 + 765acd8 commit 7fdc29a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<div class="order-service-config">
<!--
Make sure we don't initialize the next-steps component until the wizard is
complete. Otherwise it tries to set and clear the template message too soon
(when the dialog is displayed, before the template is instantiated).
-->
<next-steps
ng-if="$ctrl.wizardDone"
project="$ctrl.selectedProject"
project-name="$ctrl.selectedProject.metadata.name"
login-base-url="$ctrl.loginBaseUrl"
Expand Down
3 changes: 2 additions & 1 deletion dist/scripts/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -9053,7 +9053,8 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(

$templateCache.put('views/directives/process-template-dialog/process-template-results.html',
"<div class=\"order-service-config\">\n" +
"<next-steps project=\"$ctrl.selectedProject\" project-name=\"$ctrl.selectedProject.metadata.name\" login-base-url=\"$ctrl.loginBaseUrl\" on-continue=\"$ctrl.close\" show-project-name=\"$ctrl.showProjectName\" name=\"$ctrl.template | displayName\">\n" +
"\n" +
"<next-steps ng-if=\"$ctrl.wizardDone\" project=\"$ctrl.selectedProject\" project-name=\"$ctrl.selectedProject.metadata.name\" login-base-url=\"$ctrl.loginBaseUrl\" on-continue=\"$ctrl.close\" show-project-name=\"$ctrl.showProjectName\" name=\"$ctrl.template | displayName\">\n" +
"</next-steps>\n" +
"</div>"
);
Expand Down

0 comments on commit 7fdc29a

Please sign in to comment.