@@ -9235,7 +9235,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
9235
9235
"Build hooks allow you to run commands at the end of the build to verify the image.\n" +
9236
9236
"</div>\n" +
9237
9237
"</div>\n" +
9238
- "<div ng-show =\"view.hasHooks\">\n" +
9238
+ "<div ng-if =\"view.hasHooks\">\n" +
9239
9239
"<div class=\"form-group\">\n" +
9240
9240
"<h4>Hook Types</h4>\n" +
9241
9241
"<ui-select ng-model=\"buildHookSelection.type\" title=\"Choose a type of build hook\">\n" +
@@ -9246,7 +9246,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
9246
9246
"</ui-select>\n" +
9247
9247
"</div>\n" +
9248
9248
"<fieldset>\n" +
9249
- "<div ng-show =\"buildHookSelection.type.id === 'script' || buildHookSelection.type.id === 'scriptArgs'\">\n" +
9249
+ "<div ng-if =\"buildHookSelection.type.id === 'script' || buildHookSelection.type.id === 'scriptArgs'\">\n" +
9250
9250
"<h4>Script</h4>\n" +
9251
9251
"<div ui-ace=\"{\n" +
9252
9252
" mode: 'sh',\n" +
@@ -9255,17 +9255,17 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
9255
9255
" fadeFoldWidgets: true,\n" +
9256
9256
" showPrintMargin: false\n" +
9257
9257
" }\n" +
9258
- " }\" ng-model=\"updatedBuildConfig.spec.postCommit.script\" class=\"ace-bordered ace-inline mar-top-md\">\n" +
9258
+ " }\" ng-model=\"updatedBuildConfig.spec.postCommit.script\" required class=\"ace-bordered ace-inline mar-top-md\">\n" +
9259
9259
"</div>\n" +
9260
9260
"</div>\n" +
9261
- "<div ng-show =\"buildHookSelection.type.id === 'command' || buildHookSelection.type.id === 'commandArgs'\">\n" +
9261
+ "<div ng-if =\"buildHookSelection.type.id === 'command' || buildHookSelection.type.id === 'commandArgs'\">\n" +
9262
9262
"<h4>Command</h4>\n" +
9263
- "<edit-command args=\"updatedBuildConfig.spec.postCommit.command\">\n" +
9263
+ "<edit-command args=\"updatedBuildConfig.spec.postCommit.command\" is-required=\"true\" >\n" +
9264
9264
"</edit-command>\n" +
9265
9265
"</div>\n" +
9266
- "<div ng-show =\"buildHookSelection.type.id === 'args' || buildHookSelection.type.id === 'commandArgs' || buildHookSelection.type.id === 'scriptArgs' \">\n" +
9266
+ "<div ng-if =\"buildHookSelection.type.id === 'args' || buildHookSelection.type.id === 'commandArgs' || buildHookSelection.type.id === 'scriptArgs' \">\n" +
9267
9267
"<h4>Arguments</h4>\n" +
9268
- "<edit-command args=\"updatedBuildConfig.spec.postCommit.args\" type=\"argument\">\n" +
9268
+ "<edit-command args=\"updatedBuildConfig.spec.postCommit.args\" type=\"argument\" is-required=\"true\" >\n" +
9269
9269
"</edit-command>\n" +
9270
9270
"</div>\n" +
9271
9271
"</fieldset>\n" +
0 commit comments