Skip to content

Commit

Permalink
fix(ecs): Disable artifact selection outside of pipelines (#7170)
Browse files Browse the repository at this point in the history
* fix(ecs): Diable artifact selection outside of pipelines

* use style class, triple equals for ng checks
  • Loading branch information
allisaurus authored and anotherchrisberry committed Jul 2, 2019
1 parent 58b9867 commit ea730f4
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,17 @@
type="radio"
ng-model="command.useTaskDefinitionArtifact"
ng-value="true"
ng-disabled="command.viewState.mode === 'create'"
id="taskDefinitionSourceArtifact"
/>
Artifact
</label>
</div>
</div>
<div ng-if="command.viewState.mode === 'create'" class="color-text-caption">
<hr />
<span><em>Artifacts not supported outside of pipelines.</em></span>
</div>
</div>
</div>
<div class="col-md-12" ng-if="command.useTaskDefinitionArtifact">
Expand Down

0 comments on commit ea730f4

Please sign in to comment.