Merge pull request #2470 from calmh/nostoppedrescan

Don't show "Rescan" button for stopped folders
This commit is contained in:
Audrius Butkevicius 2015-11-14 09:09:28 -05:00
commit d99350fd61
2 changed files with 4 additions and 4 deletions

View File

@ -319,7 +319,7 @@
<span class="fa fa-arrow-circle-up"></span>&nbsp;<span translate>Override Changes</span>
</button>
<span class="pull-right">
<button type="button" class="btn btn-sm btn-default" ng-click="rescanFolder(folder.id)" ng-show="['idle', 'stopped', 'unshared'].indexOf(folderStatus(folder)) > -1">
<button type="button" class="btn btn-sm btn-default" ng-click="rescanFolder(folder.id)" ng-show="['idle', 'unshared'].indexOf(folderStatus(folder)) > -1">
<span class="fa fa-refresh"></span>&nbsp;<span translate>Rescan</span>
</button>
<button type="button" class="btn btn-sm btn-default" ng-click="editFolder(folder)">

File diff suppressed because one or more lines are too long