gui: Disable file pull order when for send-only (fixes #6807) #6821

This commit is contained in:
Jack Croft
2020-07-09 11:57:04 +02:00
committed by GitHub
parent ff7873fcc1
commit 8cbdf1e1de
@@ -209,7 +209,7 @@
</div>
<div class="col-md-6 form-group">
<label translate>File Pull Order</label>
<select class="form-control" ng-model="currentFolder.order">
<select class="form-control" ng-model="currentFolder.order" ng-if="currentFolder.type != 'sendonly'">
<option value="random" translate>Random</option>
<option value="alphabetic" translate>Alphabetic</option>
<option value="smallestFirst" translate>Smallest First</option>
@@ -217,6 +217,9 @@
<option value="oldestFirst" translate>Oldest First</option>
<option value="newestFirst" translate>Newest First</option>
</select>
<select class="form-control" ng-if="currentFolder.type == 'sendonly'" disabled>
<option value="disabled" translate>Disabled</option>
</select>
</div>
</div>