fix(dockerfile-build-dialog): disable button until ready
Ensure the callback function in the dockerfileBuildDialog directive is set, and therefore that it's ready to start a build, before enabling the button to trigger start build. Fixes: [Issue #203931642/](https://sentry.io/coreos/frontend-production/issues/203931642/)
This commit is contained in:
parent
081424ed82
commit
aba4187d81
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@
|
|||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary" ng-click="startBuild()"
|
||||
ng-disabled="!hasDockerfile || buildStarting"
|
||||
ng-disabled="!hasDockerfile || buildStarting || !startBuildCallback"
|
||||
ng-show="!viewTriggers">Start Build</button>
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal"
|
||||
ng-disabled="buildStarting">Close</button>
|
||||
|
|
Reference in a new issue