Hide 'Download' button when no test to download.
In the Test list Download Modal, It's better we hide the 'Download' button when not test to download for. Closes-Bug: #1557277 Change-Id: Iaf955322edc2de59a92afaacbbefa91204b26f14
This commit is contained in:
parent
ab8ba00554
commit
7c1fb35b4f
@ -18,7 +18,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-primary" type="button" ng-click="modal.downloadTestList()">Download</button>
|
||||
<button class="btn btn-primary" ng-if="modal.tests.length>0" type="button" ng-click="modal.downloadTestList()">Download</button>
|
||||
<button class="btn btn-primary" type="button" ng-click="modal.close()">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user