Skip to content

Commit 7529b6f

Browse files
author
OpenShift Bot
authored
Merge pull request #1317 from spadgett/create-build-secret
Merged by openshift-bot
2 parents 9d16569 + 2716958 commit 7529b6f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/views/edit/build-config.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,8 @@ <h5>Image change</h5>
494494
</dl>
495495
</div>
496496
</div>
497-
<div class="section" ng-if="!(updatedBuildConfig | isJenkinsPipelineStrategy)">
497+
<!-- Wait for project to load since the directive uses `canI` checks that need it. -->
498+
<div class="section" ng-if="project && !(updatedBuildConfig | isJenkinsPipelineStrategy)">
498499
<!-- Use ng-show instead of ng-if so the form is still marked invalid if a hidden field has errors. -->
499500
<div ng-show="view.advancedOptions">
500501
<h3 class="with-divider">

dist/scripts/templates.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -9362,7 +9362,8 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
93629362
"</dl>\n" +
93639363
"</div>\n" +
93649364
"</div>\n" +
9365-
"<div class=\"section\" ng-if=\"!(updatedBuildConfig | isJenkinsPipelineStrategy)\">\n" +
9365+
"\n" +
9366+
"<div class=\"section\" ng-if=\"project && !(updatedBuildConfig | isJenkinsPipelineStrategy)\">\n" +
93669367
"\n" +
93679368
"<div ng-show=\"view.advancedOptions\">\n" +
93689369
"<h3 class=\"with-divider\">\n" +

0 commit comments

Comments
 (0)